Tuesday, November 6, 2012

Re: [android-developers] R Can Not be Resolved

Piren,

It seems like you have hit on the problem.  Where do I find the PATH/ANDROID_HOME variable?  Also is it possible there is a permission problem?

Kevin
On 11/4/2012 2:28 AM, Piren wrote:
Actually it sounds more as if the SDK installation folder was changed... make sure that path ( "/home/kevin/Downloads/android-sdk-linux/platform-tools/adb") is still the correct one and if not, update your PATH/ANDROID_HOME variables appropriately. 

On Sunday, November 4, 2012 4:48:39 AM UTC+2, Bear35805 wrote:
I did not see any errors in the console.  I did install more of the
support for older Android versions and I received this error.

Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program
"/home/kevin/Downloads/android-sdk-linux/platform-tools/adb":
java.io.IOException: error=2, No such file or directory.
Starting ADB server failed (code -1).


I know this problem can also be caused by a problem in the Manifest XML
so I am copying it here:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.dbindustries.alcohol.tracker"
     android:versionCode="1"
     android:versionName="1.0" >

     <uses-sdk
         android:minSdkVersion="8"
         android:targetSdkVersion="15" />

     <application
         android:icon="@drawable/ic_launcher"
         android:label="@string/app_name"
         android:theme="@style/AppTheme" >
         <activity
             android:name=".MainActivity"
             android:label="@string/title_activity_main" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />

                 <category
android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
     </application>

</manifest>


On 11/3/2012 5:02 PM, Mark Murphy wrote:
> This means that either one of your resources has a problem or your
> AndroidManifest.xml file has a problem. Look for red X marks over such
> files in the Package Explorer, or look in the Android portion of the
> Eclipse Console for error messages.
>
> On Sat, Nov 3, 2012 at 5:58 PM, Kevin Brooks <bear...@gmail.com> wrote:
>> It has been a while since I have done any Android Development.  I started a
>> new project today, and after creating the project I get an error R can not
>> be resolved.
>>
>> I am using Eclipse Indigo 3.7 with the Latest Android SDK.
>>
>> I apologize if this has already been answered, I did a search through the
>> messages and couldn't find it.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate