Can't run any Android Project from clean Ubuntu 14.04 Installation-Collection of common programming errors


  • Martin

    I installed Ubuntu 14.04 64 bit and now I can’t start any of my old Android Projects neither from Android Studio nor from the ADT Eclipse Bundle. Even a clean newly created project in either of these two IDEs fails to load on my phone (I did not change anything on the phone). The log from logcat just loops endlessly the following stuff, which I think in essence says “VM aborting” and “A/libc Fatal signal 11 (SIGSEGV)” and a warning “JNI WARNING: input is not valid Modified UTF-8: illegal continuation byte 0x5f”

    04-21 17:59:06.625  24805-24805/? D/dalvikvm? Late-enabling CheckJNI
    04-21 17:59:06.645    1720-1720/? D/Zygote? Process 24792 terminated by signal (11)
    04-21 17:59:06.735    2152-2173/system_process D/dalvikvm? GC_FOR_ALLOC freed 798K, 25% free 12012K/15908K, paused 137ms, total 138ms
    04-21 17:59:06.735    2152-3338/system_process I/ActivityManager? Start proc com.example.test_64 for activity com.example.test_64/.MainActivity: pid=24805 uid=10118 gids={50118, 1028}
    04-21 17:59:06.755  24805-24805/? W/dalvikvm? JNI WARNING: input is not valid Modified UTF-8: illegal continuation byte 0x5f
    04-21 17:59:06.755  24805-24805/? W/dalvikvm? string: 'en_Latn_US_?_DE'
    04-21 17:59:06.755  24805-24805/? W/dalvikvm? in Llibcore/icu/ICU;.addLikelySubtags:(Ljava/lang/String;)Ljava/lang/String; (NewStringUTF)
    04-21 17:59:06.755  24805-24805/? I/dalvikvm? "main" prio=5 tid=1 NATIVE
    04-21 17:59:06.755  24805-24805/? I/dalvikvm? | group="main" sCount=0 dsCount=0 obj=0x40df19a0 self=0x400f8010
    04-21 17:59:06.755  24805-24805/? I/dalvikvm? | sysTid=24805 nice=0 sched=0/0 cgrp=[no-cpu-subsys] handle=1074991580
    04-21 17:59:06.755  24805-24805/? I/dalvikvm? | state=R schedstat=( 35461432 22644041 75 ) utm=0 stm=3 core=0
    04-21 17:59:06.765  24805-24805/? I/dalvikvm? #00  pc 000012a0  /system/lib/libcorkscrew.so (unwind_backtrace_thread+27)
    04-21 17:59:06.765  24805-24805/? I/dalvikvm? #01  pc 0005fb74  /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+35)
    04-21 17:59:06.765  24805-24805/? I/dalvikvm? #02  pc 000539ca  /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+313)
    04-21 17:59:06.765  24805-24805/? I/dalvikvm? #03  pc 00053a72  /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
    04-21 17:59:06.765  24805-24805/? I/dalvikvm? #04  pc 00038996  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #05  pc 00039d54  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #06  pc 0003bf82  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #07  pc 00015f3e  /system/lib/libjavacore.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #08  pc 00016354  /system/lib/libjavacore.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #09  pc 0001e490  /system/lib/libdvm.so (dvmPlatformInvoke+112)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #10  pc 0004d26c  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+395)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #11  pc 000278a0  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #12  pc 0002b7d8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+176)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #13  pc 0005fd76  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+373)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #14  pc 00067810  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #15  pc 000278a0  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #16  pc 0002b7d8  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+176)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #17  pc 0005faa0  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+271)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #18  pc 00049856  /system/lib/libdvm.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #19  pc 0004773a  /system/lib/libandroid_runtime.so
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #20  pc 000483e6  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+389)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #21  pc 00000db6  /system/bin/app_process
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? #22  pc 00012728  /system/lib/libc.so (__libc_init+35)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? at libcore.icu.ICU.addLikelySubtags(Native Method)
    04-21 17:59:06.775  24805-24805/? I/dalvikvm? at android.text.TextUtils.getLayoutDirectionFromLocale(TextUtils.java:1724)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.content.res.Configuration.setLayoutDirection(Configuration.java:1313)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.content.res.Configuration.updateFrom(Configuration.java:811)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.app.ActivityThread.applyConfigurationToResourcesLocked(ActivityThread.java:3958)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4387)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.app.ActivityThread.access$1300(ActivityThread.java:153)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1307)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.os.Handler.dispatchMessage(Handler.java:99)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.os.Looper.loop(Looper.java:137)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at android.app.ActivityThread.main(ActivityThread.java:5227)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at java.lang.reflect.Method.invokeNative(Native Method)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at java.lang.reflect.Method.invoke(Method.java:511)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? at dalvik.system.NativeStart.main(Native Method)
    04-21 17:59:06.785  24805-24805/? I/dalvikvm? [ 04-21 17:59:06.785 24805:24805 E/dalvikvm ]
        VM aborting
    04-21 17:59:06.785  24805-24805/? A/libc? Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 24805 (example.test_64)
    04-21 17:59:06.886  21813-21813/? I/DEBUG? *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    04-21 17:59:06.886  21813-21813/? I/DEBUG? Build fingerprint: 'samsung/cm_golden/golden:4.2.2/JDQ39E/eng.maclaw.20130908.135703:userdebug/test-keys'
    04-21 17:59:06.886  21813-21813/? I/DEBUG? Revision: '106'
    04-21 17:59:06.886  21813-21813/? I/DEBUG? pid: 24805, tid: 24805, name: example.test_64  >>> com.example.test_64