在编译具有Intelij-IDEA一个Android模块出现以下错误信息:
找不到在AndroidManifest.xml中的模块封装值
悬停帮助告诉我,以填补在设置对话框的资源页面。但是,究竟是什么做的我一定要填写?
清单文件是pretty的排序(它是一个库)
<舱单
安卓版code ='1'
机器人:VERSIONNAME ='0.1'
包='com.XXX.datamodel
的xmlns:机器人=HTTP://schemas.android.com/apk/res/android
>
<用途-SDK
安卓的minSdkVersion ='4'
机器人:targetSdkVersion =8
>< /使用的SDK>
< /舱单>
解决方案
,可能会出现这样的错误,当该路径在的 IDEA Android的小面的配置不正确的设置。纠正清单路径应该解决这个问题。
When compiling an Android module with Intelij-IDEA I get the following error message:
Cannot find package value in AndroidManifest.xml for module
The hover help tell me to fill in the Resources page on settings dialogue. But, what actually do I have to fill in?
The Manifest file is pretty sort (it's a library)
<manifest
android:versionCode='1'
android:versionName='0.1'
package='com.XXX.datamodel'
xmlns:android='http://schemas.android.com/apk/res/android'
>
<uses-sdk
android:minSdkVersion='4'
android:targetSdkVersion='8'
></uses-sdk>
</manifest>
解决方案
Such error may occur when the path to the AndroidManifest.xml
file in the IDEA Android Facet settings is configured incorrectly. Correcting the Manifest path should fix the problem.