首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有为android.os.SystemProperties.native_get(java.lang.String)找到java.lang.String实现

没有为android.os.SystemProperties.native_get(java.lang.String)找到java.lang.String实现
EN

Stack Overflow用户
提问于 2017-03-24 13:33:54
回答 5查看 11K关注 0票数 12

每当我在设备上安装应用程序时,都会得到错误。

代码语言:javascript
复制
03/24 18:56:08: Launching app
$ adb push /home/itstym/AndroidStudioProjects/hlthee/app/build/outputs/apk/app-debug.apk /data/local/tmp/user.com.hlthee
$ adb shell pm install -r "/data/local/tmp/user.com.hlthee"
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 android.os.Environment.getCanonicalPathOrNull(Environment.java:832)
    at android.os.Environment.<clinit>(Environment.java:78)
    at android.os.Environment.getLegacyExternalStorageDirectory(Environment.java:419)
    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:187)
    at android.ddm.DdmHandleProfiling.handleChunk(DdmHandleProfiling.java:88)
    at org.apache.harmony.dalvik.ddmc.DdmServer.dispatch(DdmServer.java:171)
Aborted 


$ adb shell am start -n "user.com.hlthee/user.com.hlthee.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Error while executing: am start -n "user.com.hlthee/user.com.hlthee.WelcomeActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=user.com.hlthee/.WelcomeActivity }
Error type 3
Error: Activity class {user.com.hlthee/user.com.hlthee.WelcomeActivity} does not exist.

Error while Launching activity

尝试解决方案:

  1. 清理项目并进行重建。
  2. 无效/重新启动选项。
  3. 卸载旧的apk并再次尝试安装。
  4. HTC M8 Unsatisfied Link Error after 5.0.1 update遵循这个链接答案。
  5. Unable to test app after upgrading to Lollipop也遵循这个链接答案。

器件: Micromax Os: 5.0

EN

Stack Overflow用户

发布于 2017-08-14 08:30:12

在华硕Zenfone 2,简单地禁用即时运行修复这为我。

设置->生成、执行、部署->即时运行(取消复选框)

我能够离开亚洲开发银行的集成启用。

票数 1
EN
查看全部 5 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43000901

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档