Emulator error

stratus

Active Member
Licensed User
Longtime User
I make a very simple program but when i try to run it in the emulator i have errors

Compiling code. 0,0050003
Generating R file. 0,001
Compiling generated Java code. 0,6920396
Convert byte code - optimized dex. 0,2670153
Packaging files. 0,1240071
Signing package file. 0,2870164
ZipAlign file. 0,0280016
Installing file to device. Error
pkg: /data/local/tmp/test.apk
Failure [INSTALL_FAILED_DEXOPT]

Restarting ADB Server may solve this problem.
Tools - Restart ADB Server. Device serial: emulator-5554

PS The avd works fine when i use it with eclipse
 

stratus

Active Member
Licensed User
Longtime User
2.1 update 1.I try with different version (1.5) but i have the same problem
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I meant that it can be an insufficient memory issue in the emulator.

How large is the apk file? It is located under the 'objects' sub folder.
Are you sure that the emulator version is 2.1? It can be found by pressing Menu - Settings - About Phone (from the home screen).

about_phone.png
 
Upvote 0
Top