I have a small android application with this manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.eliran.myapplication" >
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.eliran.myapplication.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
I want alter the package name for testing integration with another andorid app.
However when I change to
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myTest.driver" >
I get an error that R class is not found
Error:(37, 25) error: package R does not exist
how can i fix this, with minimal effort and without changing the package name of each class?