Hey guys, I need help. I want to publish my app on google play but it doesn't export it to apk. can you help?
Printable View
Hey guys, I need help. I want to publish my app on google play but it doesn't export it to apk. can you help?
Anyone?????
Did you download the Java SDK, Google SDK and the API you want to use?
We would need to know a little bit more about the problems your having before we can offer any help.
Hey, Jeff thanks for helping me. I'm trying to use API 20 and yes I did download them. Here's the output file.
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_101\lib\tools.jar
Buildfile: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\buil d.xml
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-pre-build:
-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\Users\user1\AppData\Local\Android\android-sdk
-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 4.4W.2
[gettarget] API level: 20
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin\ res
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin\ rsObj
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin\ rsLibs
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\gen
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin\ classes
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\AndEEBF.tmp\bin\ dexedLibs
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-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:
BUILD FAILED
C:\Users\user1\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\Users\user1\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: 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 "C:\Program Files (x86)\Java\jre1.8.0_101"
Total time: 8 seconds
Can you confirm your Java JDK is at -- C:\Program Files (x86)\Java\jre1.8.0_101
There is 64 bit and 32 bit Java JDK - You should use the 32 bit version as people seem to have issues with the 64 bit version.
Also - Can you try to compile a blank APK file -- This would help to see if its an object in your game (that needs an update in the extension manager) or if its your setup someplace.
Also make sure your google SDK has these items installed:
Attachment 20787
Also what build of Fusion are you using?
Under Help/about.
jre1.8.0_101
The blank thing doesn't work either.
Attachment 20789
Jeff, do you know how to fix it?
haha maybe use a 2016 version ... if you can
wpd Ok but how do I upgrade?
bump!!!!!!
Guys, please.
First - You need to update Fusion to the latest build
Under Help and check for update.
Second - You need to register your serial number or Steam profile in the Community Passport.
Let us know when those 2 things are done and we can then help you.
Ok I just did Jeff.
It doesn't look like you have registered yet in the Community Passport system.
So can you check under help/about and see what build your using?
Ok something went wrong, Ill fix it.
you should buy the product, register, and then we'll help you...
no need to create new forum accounts. building an apk is no problem
Ok I just did but it doesn't work.
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_101\lib\tools.jar
Buildfile: C:\Users\user1\AppData\Local\Temp\And2825.tmp\buil d.xml
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-pre-build:
-check-env:
[checkenv] Android SDK Tools Revision 25.1.7
[checkenv] Installed at C:\Users\user1\AppData\Local\Android\android-sdk
-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.1
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 7.0
[gettarget] API level: 24
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin\ res
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin\ rsObj
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin\ rsLibs
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\gen
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin\ classes
[mkdir] Created dir: C:\Users\user1\AppData\Local\Temp\And2825.tmp\bin\ dexedLibs
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-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:
BUILD FAILED
C:\Users\user1\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\Users\user1\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: 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 "C:\Program Files (x86)\Java\jre1.8.0_101"
Total time: 1 second
really? you finally bought it? haha good for you yarrr
better create a new forum account, coz people won't like your current forum name
Then Click the community passport on Top... input your steam url link there
wpd: Yeah I did, I can't find the serial number tho.
How do I find it?
Ok I just did.
Can you look under Help and about and tell us what build number you have?
Jeff, thank you but wpd already helped me and its working now.