Android Question Compile Times Out

ValDog

Active Member
Licensed User
Longtime User
I've had to reinstall my operating system and all software. My application now times out after displaying "Convert byte code - optimized dex. Error" - can anyone help?
 

ValDog

Active Member
Licensed User
Longtime User
Ok, so I'd previously increased my timeout to 60 sec - and following the thread you referenced above, increased MaxRamForDex to 1536. This helped partially. Here is what I am now seeing:

Compile & Debug (Build: Default)

B4A version: 5.20
Parsing code. (0.88s)
Compiling code. (0.84s)
Compiling layouts code. (0.12s)
Generating R file. (0.67s)
Compiling generated Java code. (11.00s)
Convert byte code - optimized dex. (18.48s)
Packaging files. (5.12s)
Copying libraries resources (2.15s)
Found 40 resource files.
Signing package file (debug key). (2.57s)
ZipAlign file. (0.27s)
Installing file to device. Error
pkg: /data/local/tmp/GSight_DEBUG.apk
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

I am installing to a USB connected Nexus 7. Any ideas?
 
Upvote 0

ValDog

Active Member
Licensed User
Longtime User
Are you sure that you are connected to the Nexus 7 and not a VM?

Which libraries are you using?

I am physically connected to a Nexus 7, and am able to compile and run (on the Nexus 7) other (sample) apps like the AHQuickAction example for instance.

As for libs I am using:

AHQuickAction v1.02
Audio v1.63
ByteConverter v1.10
Core v4.92
DateUtils v1.05
Dialogs v2.93
DropBoxSync v3.00
Excel v1.00
FusedLocationProvider v1.10
GestureDetector v2.20
GoogleMaps v1.01
GoogleMapExtras v1.80
GPS v1.20
HTTP v1.36
HttpUtils2 v2.01
id v1.00
IME v1.05
Jackcess v1.00
JSON v1.10
Network v1.51
OSMDroid_3_0_8 v3.54
Parse v1.20
Phone v2.27
RandomAccessFile v2.06
Reflection v2.40
RSPopupMenu v1.00
ScrollView2D v1.10
Serial v1.23
SQL v1.20
StdActionBarHelper v1.10
StringFunctions v1.05
StringUtils v1.02
WebViewExtras v1.41
WebViewXtended v1.20
XYGraph v1.00
 
Upvote 0

ValDog

Active Member
Licensed User
Longtime User
Want to update you on my progress. After restarting B4A, and having shut down GenyMotion (I think I had it running previously but there was no indication that the program was trying to load to that VM, so I'm sorry if I mislead you earlier). Anyway, now B4A does load to my Nexus 7 - and I seem to have an unrelated issue with the FusedLocationProvider that I'm working on. Thanks - I'll let you know if I see this problem again.
 
Upvote 0
Top