Monkey
Store
Community
Apps
Contact
Login or Signup

Android build failed - Device not found

Monkey Programming Forums/Android/Android build failed - Device not found

Zwer99(Posted 1+ years ago) 
Hey!

I have another problem: When I compile my game for Android Monkey doesn't find my mobile phone.

This is the error:

install:
     [echo] Installing C:\Monkey\Android\BunnyHopp\Main.build\android\bin\MonkeyGame-debug.apk onto default emulator or device...
     [exec] error: device not found
ERROR:
BUILD FAILED
C:\AndroidSDKs\android_sdk\tools\ant\main_rules.xml:653: The following error occurred while executing this line:
C:\AndroidSDKs\android_sdk\tools\ant\main_rules.xml:271: exec returned: 1

Total time: 8 secondsERROR:
Android build failed.
Error in compilation!


I use Samsung Galaxy S2 and I've already activated the USB-Debugging Mode. I tried an emulator, which works...

Do I have to change a configuration file or anything else?


Thank you :)