Ren'Py Error with Android SDK after updating

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#16 Post by PyTom »

It's hard to say. We build an android-variant of your game in <project>/tmp/, so look to see if the files are there.

You may also want to make sure you got filename case correct.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#17 Post by carroll6 »

Still having problems. ANT is hanging on the final build. I made a very simple game to test it, which consists of two images and 3 lines of dialogue.

Should I delete the google folder on Android SDK? The whole thing?

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#18 Post by PyTom »

Can I see the android.txt?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#19 Post by carroll6 »

ANT keeps getting stuck on the installation.. it's stalled now. I deleted the Google directory on the Android-SDK. But I am just guessing.

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Here are the Errors I got

#20 Post by carroll6 »

I got it to successfully build- on the desktop. I had given up. These are the errors and warnings. On the Tablet it will build a little..with a bunch of errors. Sigh. Is NOTHING straightforward?

-compile:
[javac] Compiling 39 source files to C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#21 Post by PyTom »

Those are warnings and not errors. They can be ignored for the time being.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#22 Post by carroll6 »

can I post the whole "android" file on here.. it will be huge! THere is another suspicious line.. it says:
Updated file C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.

It will build- on Win7 deskop.. but I dont know how to run it.. it's for android..and this is just a test project with a couple of image files. Drat. NOTHING ever works for me!

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#23 Post by PyTom »

You can post it, or else email it to me.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#24 Post by carroll6 »

OK HERE goes.. I couldn't locate your email on your profile or web page... tried the email up above..pytom@bishouju.us no luck.. here goes...aaargh This is Android.txt.

The device is Android 4.3, a HiSenspro Sero7. Windows 7 is my OS. I do not know where to look! It builds on desktop.. but on the Tablet a LOT of errors.. on a Text file ON the tablet. I am lost.


Updating source code.

Updating build files.
Resolved location of library project to: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library
Updated and renamed default.properties to project.properties
Updated local.properties
Added file C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\build.xml
Updated file C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.




Creating assets directory.

Packaging internal data.

I'm using Ant to build the package.
Buildfile: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\build.xml

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: Testx-Testx
[gettype] Project Type: Application

-pre-clean:

clean:
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\gen
[getlibpath] Library dependencies:
[getlibpath]
[getlibpath] ------------------
[getlibpath] Ordered libraries:

nodeps:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: library
[gettype] Project Type: Android Library

-pre-clean:

clean:
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\gen

nodeps:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: downloader_library
[gettype] Project Type: Android Library

-pre-clean:

clean:
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin
[delete] Deleting directory C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\gen

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: Testx-Testx
[gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for Testx-Testx...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\rsObj
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\rsLibs
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\gen
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\classes
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for Testx-Testx...
[dependency] Ordered libraries:
[dependency] C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library
[dependency] C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: library
[gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for library...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\res
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\rsObj
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\rsLibs
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\gen
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\classes
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for library...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 19 source files to C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\src\com\google\android\vending\licensing\LicenseChecker.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
[echo] Creating library output jar file...
[jar] Building jar: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\classes.jar

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode...

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\res
[crunch] To destination dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\res
[crunch] Crunched 0 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources...

-package:
[echo] Library project: do not package apk...

-post-package:

-release-prompt-for-password:

-release-nosign:
[echo]
[propertyfile] Creating new property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\build.prop

-release-sign:

-post-build:

release:

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 23.0.5
[checkenv] Installed at C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23

-setup:
[echo] Project Name: downloader_library
[gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for downloader_library...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\rsObj
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\rsLibs
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\gen
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\classes
[mkdir] Created dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for downloader_library...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 22 source files to C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings
[echo] Creating library output jar file...
[jar] Building jar: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\classes.jar

-post-compile:

-obfuscate:

-dex:
[echo] Library project: do not convert bytecode...

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\res
[crunch] To destination dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res
[crunch] Processing image to cache: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\res\drawable-hdpi\notify_panel_notification_icon_bg.png => C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res\drawable-hdpi\notify_panel_notification_icon_bg.png
[crunch] (processed image to cache entry C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res\drawable-hdpi\notify_panel_notification_icon_bg.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\res\drawable-mdpi\notify_panel_notification_icon_bg.png => C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res\drawable-mdpi\notify_panel_notification_icon_bg.png
[crunch] (processed image to cache entry C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\res\drawable-mdpi\notify_panel_notification_icon_bg.png: 0% size of source)
[crunch] Crunched 2 PNG files to update cache

-package-resources:
[echo] Library project: do not package resources...

-package:
[echo] Library project: do not package apk...

-post-package:

-release-prompt-for-password:

-release-nosign:
[echo]
[propertyfile] Creating new property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\build.prop

-release-sign:

-post-build:

release:

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] Found 1 AIDL files.
[aidl] Compiling 1 AIDL files.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 39 source files to C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 warnings

-post-compile:

-obfuscate:

-dex:
[dex] input: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\classes
[dex] input: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\classes.jar
[dex] input: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\classes.jar
[dex] input: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\libs\Amazon-InAppSDK-Purchasing.jar
[dex] input: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\libs\ouya-sdk.jar
[dex] Pre-Dexing C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_apk_expansion\downloader_library\bin\classes.jar -> classes-517f4a4df582d07577843fc01211875e.jar
[dex] Pre-Dexing C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\android-sdk-r23\extras\google\play_licensing\library\bin\classes.jar -> classes-3da98442a35fecf1dd230f953029a92e.jar
[dex] Pre-Dexing C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\libs\Amazon-InAppSDK-Purchasing.jar -> Amazon-InAppSDK-Purchasing-945036a006a8111d467c1dc8b501389b.jar
[dex] Pre-Dexing C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\libs\ouya-sdk.jar -> ouya-sdk-50225d7b2261e54c5b188a70cacce5b2.jar
[dex] Converting compiled files and external libraries into C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\classes.dex...
[dx] Merged dex A (88 defs/127.2KiB) with dex B (47 defs/88.1KiB). Result is 135 defs/253.0KiB. Took 0.1s
[dx] Merged dex A (135 defs/253.0KiB) with dex B (25 defs/35.5KiB). Result is 160 defs/352.2KiB. Took 0.0s
[dx] Merged dex A (160 defs/352.2KiB) with dex B (85 defs/58.1KiB). Result is 245 defs/528.8KiB. Took 0.0s
[dx] Merged dex A (245 defs/528.8KiB) with dex B (138 defs/123.2KiB). Result is 383 defs/890.2KiB. Took 0.0s

-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\res
[crunch] To destination dir: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res
[crunch] Processing image to cache: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\res\drawable-hdpi\ic_launcher.png => C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res\drawable-hdpi\ic_launcher.png
[crunch] (processed image to cache entry C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res\drawable-hdpi\ic_launcher.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\res\drawable\icon.png => C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res\drawable\icon.png
[crunch] (processed image to cache entry C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\res\drawable\icon.png: 96% size of source)
[crunch] Crunched 2 PNG files to update cache

-package-resources:
[aapt] Creating full resource package...

-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating Testx-Testx-release-unsigned.apk for release...

-post-package:

-release-prompt-for-password:

-release-nosign:

-release-sign:
[echo] Signing final apk...
[zipalign] Running zip align on final apk...
[echo] Release Package: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\Testx-Testx-release.apk
[propertyfile] Creating new property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\build.prop
[propertyfile] Updating property file: C:\Users\David\Downloads\renpy-6.18.2-sdk\rapt\bin\build.prop

-post-build:

release:

BUILD SUCCESSFUL
Total time: 27 seconds




The build seems to have succeeded.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#25 Post by PyTom »

As it says at the bottom, this is a successful build. What's the problem?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#26 Post by carroll6 »

LOL it won't run on my Tablet let me try it again. Thank you so much for looking it over.
Build succeeds on the desktop!

On the TABLET: There is a IO Error.. "couldn't find asylumfront.jpg" then a whole bunch of errors. Like it is not fully transferring to the Tablet. The Icon for the game is there.. I get the Renpy splash screen.. then "IO error.. couldn't find asylumfront.jpg" (one of the two graphics that are on the test game.) then a bunch of errors (on the tablet I don't know how to save that text file.)

I have USB Debugging checked.. I don't know what else there is to check. Is there a development tool that could help me? Some other way of doing things?

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py Error with Android SDK after updating

#27 Post by PyTom »

Hm... Can you check the case of asylumfront.jpg on disk, versus the case on your filesystem?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
carroll6
Regular
Posts: 33
Joined: Tue Sep 30, 2014 5:18 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#28 Post by carroll6 »

GOT IT TO RUN! Thought I was gonna jump 3 feet in the air. You know what it was.. you know what it was? the statement image asylum = "asylum.jpg " note the space! THAT was it! changed it to "asylum.jpg" and it ran. Hmmm.. now what to do with my other stuff. I can't seem to get it to use fonts.. the Tablet rejected "Droid sans.ttf"

The amount of errors generated by this single extra space error filled my Android screen!

I can't even count the times I tried to get it to compile.

I didn't check it with LINT! I didnt even know what that program did! DUH. The thing is, I am switching back and forth between RenPy and MotionArtst. http://rocklove.us/motion-artist/Asylum1
(Asylum2) and (Asylum3). Also, trying to get MotionArtist to run on a Wordpress page.

Well..my ASYLUM for Renpy got it to run to. I just didnt use LINT. I've been banging my head on the computer for days. I like Renpy better. The text shows clear as a bell on my HiSense Pro Sero7 7" tablet. Renpy's sound tools are MUCH better than MotionArtist. WAY ahead.

steve_T
Regular
Posts: 38
Joined: Mon Oct 27, 2014 8:26 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#29 Post by steve_T »

Im having a problem building android as well.

looks like it can't find my javac ? anyone had this problem ?

android.txt file
....

-pre-compile:

-compile:

BUILD FAILED
/home/steve/Downloads/renpy/renpy-6.18.3-sdk/rapt/android-sdk-r23/tools/ant/build.xml:601: The following error occurred while executing this line:
/home/steve/Downloads/renpy/renpy-6.18.3-sdk/rapt/android-sdk-r23/tools/ant/build.xml:720: The following error occurred while executing this line:
/home/steve/Downloads/renpy/renpy-6.18.3-sdk/rapt/android-sdk-r23/tools/ant/build.xml:734: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65-2.5.2.5.fc20.x86_64/jre"

Total time: 7 seconds




The build seems to have failed.

steve_T
Regular
Posts: 38
Joined: Mon Oct 27, 2014 8:26 pm
Contact:

Re: Ren'Py Error with Android SDK after updating

#30 Post by steve_T »

Ok I finally found the problem. I'll post here in case someone else running linux has the same problem.

I was running 1.7JRE and 1.8JDK, I fixed the problem by using YUM to install both 1.7 and 1.8 JDK-devel

Post Reply

Who is online

Users browsing this forum: Andredron, geoWaffle