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

前端之家收集整理的这篇文章主要介绍了android – 无法加载memtrack模块(没有这样的文件或目录)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
更新:删除并重新安装捆绑后,问题仅保留在模拟器上

我刚刚在我的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@H_403_8@ ” Failed to load memtrack module: -2 at run time.”

的manifest.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

原文链接:https://www.f2er.com/android/317399.html

猜你在找的Android相关文章