Problem while compiling
Monkey Targets Forums/Android/Problem while compiling
| ||
I think I followed the steps that explains how to compile in android but when i try to compile i get this error TRANS FAILED: TRANS Failed to execute 'adb start-server', return code=1 Abnormal program termination. Exit code: -1 Anybody knows what is happening? :( |
| ||
In (MonkeyDir)/bin/ check the config.winnt.txt just to make sure all of the Android relevant settings are pointing to the right locations. I would guess the error above suggests Monkey can't fine the adb executable. |
| ||
Are you using a phone or the emulator? Whichever it is, make sure that it's started and ready before trying to execute. |
| ||
Ooh it appears to work now, i think i had the android-sdk wrong in the trans file, many thanks all! |
| ||
Using Android 4.1 (api 16) I get this error when compiling:-build-setup: [echo] Resolving Build Target for MonkeyGame... BUILD FAILED C:\Program Files\Android\android-sdk\tools\ant\build.xml:518: Unable to resolve project target 'android-13' Total time: 2 seconds TRANS FAILED: Android build failed. What could be wrong here? |
| ||
@Sub_Zero: You just need to install the 3.2 Android SDK from the SDK Manager. |
| ||
@DruggedBunny: Thanks got it sorted now |