无法升级到棒棒堂后,测试应用程序

编程入门 行业动态 更新时间:2024-10-25 12:17:30
本文介绍了无法升级到棒棒堂后,测试应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用的是Android Studio开发我的应用程序。

I am using Android Studio to develop my apps.

由于我升级我的HTC One M8到棒棒糖,我不能用它的运行应用程序的机器人Studio来测试我的应用程序。 我得到这个错误,什么都不会发生在我的手机:

Since I upgraded my HTC One M8 to Lollipop, I can not use it to test my apps by "Run app" in Android Studio. I get this error and nothing happens on my phone:

Launching application: com.project.GalleryActivity. DEVICE SHELL COMMAND: am start -n "com.project.GalleryActivity" -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) at com.htc.customization.HtcCustomizationManager.<init>(HtcCustomizationManager.java) at com.htc.customization.HtcCustomizationManager.<clinit>(HtcCustomizationManager.java) at android.os.Environment$UserEnvironment.getCustomizationReader(Environment.java) at android.os.Environment$UserEnvironment.isDynamicSwitchSupported(Environment.java) at android.os.Environment$UserEnvironment.<init>(Environment.java) at android.os.Environment.initForCurrentUser(Environment.java) at android.os.Environment.<clinit>(Environment.java) at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java) at android.os.Debug.<clinit>(Debug.java) at android.ddm.DdmHandleHello.handleHELO(DdmHandleHello.java) at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java) at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java) java.lang.UnsatisfiedLinkError: android.os.Debug at android.ddm.DdmHandleHello.handleFEAT(DdmHandleHello.java) at android.ddm.DdmHandleHello.handleChunk(DdmHandleHello.java) at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java) java.lang.UnsatisfiedLinkError: android.os.Debug at android.ddm.DdmHandleProfiling.handleMPRQ(DdmHandleProfiling.java) at android.ddm.DdmHandleProfiling.handleChunk(DdmHandleProfiling.java) at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java) Aborted

我的项目的设置是这些:

My project's settings are these:

用于升级前完美的工作,我没有改变,因为那个时候什么这项技术。

This technique used to work perfectly before upgrading and I have not change anything since that time.

推荐答案

我与Android 5.0面向华硕Zenfone 5(ASUS_T00J)上同样的错误。对我来说,解决办法是,在开发人员选项中的验证的应用程序通过USB关掉。 启动可能不是问题,因为我试图与谷歌即时桌面也没有成功。这是工作的罚款对我的Nexus 5与Android 5.1

I was facing the same error on Asus Zenfone 5 (ASUS_T00J) with Android 5.0. For me the solution was to switch off the "Verify Apps over USB" in the "Developer Options". Launcher may not be the issue since I tried with Google Now Launcher as well without success. It was working fine on my Nexus 5 with Android 5.1

更多推荐

无法升级到棒棒堂后,测试应用程序

本文发布于:2023-11-17 06:47:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609200.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:升级到   应用程序   棒棒   测试

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!