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

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -