我试着改变我的包名称,如com.project_name,但它没有找到。我的项目中真正的问题是什么?AndroidManifest.xml错误“必须至少有2段”
,我发现了以下错误:
Error in AndroidManifest.XML file "Application package 'AndroidManifest.xml' must have a minimum of 2 segments"
AndroidManifest.xml文件;
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rssreader"
android:versionCode="2"
android:versionName="1.01" >
<uses-sdk
android:maxSdkVersion="15"
android:minSdkVersion="7" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name" >
<activity
android:name=".splash"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
它应该像com.something.project_name,我该怎么做:com.bigflow.project_name – Bigflow
com.project_name是可以接受的。 @Serkan你是如何改变你的包名的?通过重构? – jnthnjns
首先,您是如何创建一个包装细分的项目? – jnthnjns