Чтобы добавить поддержку в мое приложение для Android для installLocation
Я поднял свой уровень Android с 7 до 8 в моей IDE (IntelliJ).Android-приложение прекрасно работает с IntelliJ.
Мы используем maven, а с Maven не компилируется.
[ERROR] C:\dev\svnlocal\5x\android\AndroidManifest.xml:3: error: No resource identifier found for attribute 'installLocation' in package 'android'
[ERROR] Error when generating sources.
Я также добавил
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8"/>
Я продолжаю получать
No resource identifier found for attribute 'installLocation' in package 'android'
Я изменил свою зависимость с
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<version>2.1_r1</version>
<scope>provided</scope>
</dependency>
на
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>
Но я все еще получал это сообщение об ошибке.
Чего не хватает?