Many stackoverflow answers advise importing R. I did this
and I tried rebuilding / clearing my path more than 10 times before asking this question.
Here's how my files are organized: 
We can all see that the error lies somewhere between the MainActivity file or the XML file.
Here is the code for the MainActivity file, this is pretty much a copy from the Google git hb server account, and ONLY the error cannot identify what “R” is:
package com.eatwithme; import android.content.res.Resources; import android.net.Uri; import android.os.Bundle; import android.text.Html; import android.text.Spanned; import android.view.View; import android.widget.AdapterView; import android.widget.AutoCompleteTextView; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.eatwithme.activities.SampleActivityBase; import com.eatwithme.logger.Log; import com.eatwithme.R; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.api.GoogleApiClient; import com.google.android.gms.common.api.PendingResult; import com.google.android.gms.common.api.ResultCallback; import com.google.android.gms.location.places.Place; import com.google.android.gms.location.places.PlaceBuffer; import com.google.android.gms.location.places.Places; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.LatLngBounds; public class MainActivity extends SampleActivityBase implements GoogleApiClient.OnConnectionFailedListener, GoogleApiClient.ConnectionCallbacks { protected GoogleApiClient mGoogleApiClient; private PlaceAutocompleteAdapter mAdapter; private AutoCompleteTextView mAutocompleteView; private TextView mPlaceDetailsText; private static final LatLngBounds BOUNDS_GREATER_SYDNEY = new LatLngBounds( new LatLng(-34.041458, 150.790100), new LatLng(-33.682247, 151.383362)); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
Also, here is my Android Manifest file (with remote key). Please pay attention to my activity name. I made it so that if I delete com.eatwithme before the activity name, this will result in an error.
<?xml version="1.0" encoding="UTF-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.google.playservices.placecomplete" android:versionCode="1" android:versionName="1.0"> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19"/> <uses-feature android:glEsVersion="0x00020000" android:required="true"/> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <application android:allowBackup="true" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:theme="@style/AppTheme"> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <meta-data android:name="com.google.android.geo.API_KEY" android:value="AnLE"/> <activity android:name="com.eatwithme.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>
I personally tried my level better, but, unfortunately, I can’t resolve this conflict. The only three sources of error, in my opinion, can be
1) Does not have an R file

2) AndoridManifest file is not right
3) The main file is wrong 4) The file order is wrong
Any recommendations on this issue?