我刚刚在我的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.”
的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模块:-2
总结以上是内存溢出为你收集整理的android – 无法加载memtrack模块(没有这样的文件或目录)全部内容,希望文章能够帮你解决android – 无法加载memtrack模块(没有这样的文件或目录)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)