gpt4 book ai didi

android - 无法加载 memtrack 模块(没有这样的文件或目录)

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:26:41 25 4
gpt4 key购买 nike

更新:在我删除并重新安装包后,问题只存在于模拟器上

我刚刚在我的 Windows 8 笔记本电脑上安装了 android 开发包。我正在尝试将第一个应用程序“hello world”(http://developer.android.com/training/basics/firstapp/creating-project.html)安装到我的 Nexus 7 (2012) 4.4.2 版,但它无法正常工作。

使用 logcat 查看器(在构建过程中)我可以看到它正在报告:

"Couldn't load memtrack module (No such file or directory)" followed by " failed to load memtrack module: -2 at run time."

list .xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.myfirstapp"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.myfirstapp.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>

控制台输出:

[2014-04-04 15:18:35 - myFirstApplication] Dx 
trouble writing output: already prepared

[2014-04-04 15:18:43 - myFirstApplication] ------------------------------

[2014-04-04 15:18:43 - myFirstApplication] Android Launch!

[2014-04-04 15:18:43 - myFirstApplication] adb is running normally.

[2014-04-04 15:18:43 - myFirstApplication] No Launcher activity found!

[2014-04-04 15:18:43 - myFirstApplication] The launch will only sync the application package on the device!

[2014-04-04 15:18:43 - myFirstApplication] Performing sync

[2014-04-04 15:18:44 - myFirstApplication] Automatic Target Mode: using device 'mydeviceinfo'

[2014-04-04 15:18:44 - myFirstApplication] Uploading myFirstApplication.apk onto device 'mydeviceinfo'
[2014-04-04 15:18:44 - myFirstApplication] Installing myFirstApplication.apk...

[2014-04-04 15:18:47 - myFirstApplication] Success!

[2014-04-04 15:18:47 - myFirstApplication] \myFirstApplication\bin\myFirstApplication.apk installed on device

[2014-04-04 15:18:47 - myFirstApplication] Done!
"

我已经开始查看类似的帖子 Couldn't load memtrack module Logcat Error但我看不出我需要为这种情况做些什么

最佳答案

如果目标模拟器中的同一应用程序有较新版本(与 manifest.xml 中定义的版本代码相比),您将收到上述错误。

无法加载 memtrack 模块(没有那个文件或目录)
无法加载 memtrack 模块:-2

关于android - 无法加载 memtrack 模块(没有这样的文件或目录),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22862929/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com