运行时出现Android Studio2.0错误

时间:2016-04-20 02:18:10

标签: android android-studio-2.0

Error while executing: am start -n "com.*************************" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String android.os.SystemProperties.native_get(java.lang.String) (tried Java_android_os_SystemProperties_native_1get and Java_android_os_SystemProperties_native_1get__Ljava_lang_String_2)
    at android.os.SystemProperties.native_get(Native Method)
    at android.os.SystemProperties.get(SystemProperties.java:52)
    at com.htc.customization.HtcCustomizationManager.<init>(HtcCustomizationManager.java:65)
    at com.htc.customization.HtcCustomizationManager.<clinit>(HtcCustomizationManager.java:60)
    at android.os.Environment$UserEnvironment.getCustomizationReader(Environment.java:523)
    at android.os.Environment$UserEnvironment.isDynamicSwitchSupported(Environment.java:534)
    at android.os.Environment$UserEnvironment.<init>(Environment.java:222)
    at android.os.Environment.initForCurrentUser(Environment.java:142)
    at android.os.Environment.<clinit>(Environment.java:136)
    at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java:726)
    at android.os.Debug.<clinit>(Debug.java:96)
    at android.ddm.DdmHandleHello.handleHELO(DdmHandleHello.java:164)
    at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java:91)
    at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
java.lang.UnsatisfiedLinkError: android.os.Debug
    at android.ddm.DdmHandleHello.handleFEAT(DdmHandleHello.java:176)
    at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java:93)
    at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
java.lang.UnsatisfiedLinkError: android.os.Debug
    at android.ddm.DdmHandleProfiling.handleMPRQ(DdmHandleProfiling.java:215)
    at android.ddm.DdmHandleProfiling.handleChunk(DdmHandleProfiling.java:106)
    at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
Aborted 

Error while Launching activity

我最近将Android Studio更新为2.0,这是我有时会遇到的错误。 当我清理并重新运行应用程序时。应用程序运行顺利。

更新: API版本为23.我将项目直接运行到我的HTC one M8。

0 个答案:

没有答案