无法找到包的价值在AndroidManifest.xml中的模块 [英] Cannot find package value in AndroidManifest.xml for module

查看:220
本文介绍了无法找到包的价值在AndroidManifest.xml中的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编译具有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>
< /舱单>
 

解决方案

,可能会出现这样的错误,当该路径在的的Andr​​oidManifest.xml 文件= http://www.jetbrains.com/idea/webhelp/android-facet-page.html相对=nofollow> 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.

这篇关于无法找到包的价值在AndroidManifest.xml中的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆