java - Android R Cannot Be Resolved to Variable - Changing Package Name -
i've seen lot of threads discussing when r cannot resolved variable. tried solutions can found here: "r cannot resolved variable"?.
none of them worked. think have found problem, don't know fix.
my src
package name seniordesign.mobileapp
, package in gen
contains r.java
com.example.android.bluetoothchat
this seems problem, how rename package in gen
or otherwise point com.example.android.bluetoothchat
in code?
i using latest version of eclipse , both r.java
, buildconfig.java
can found in gen
folder.
in manifest.xml rename package @ manifest tag
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="old.package.name" android:versioncode="1" android:versionname="1.0" >
to
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="new.package.name" android:versioncode="1" android:versionname="1.0" >
Comments
Post a Comment