Android Eclipse plugin R generation
Is there any way to set "default" R package generation? By default it is compiled on AndroidManifest.xm开发者_运维知识库l's package property.
Is there any way to tell Eclipse plugin to use -J package.name
option with aapt
command?
I want to do this with ant but I have problems with library dependances like it is mentioned here
Regards
Hi if u can check in the manifest there is a package attribute . that is the default R package generation. you can change it to whatever the package You need . and then if u clean your project it will automatically update the R package with your package name
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nds.activities"
android:versionCode="1"
android:versionName="1.0">......
Imp NOTE: once you do this update your activities with the correct package Path.
But why you want to do this?
精彩评论