Error when setting the android preferences in eclipse.

by andersg » Wed, 13 May 2009 03:24:32 GMT


Sponsored Links
 Hi,
I can't get the android sdk working in eclipse. I followed the
installation guide, but when I point android preferences to my android
sdk lib under "Window > preferences > android" I get the following
error.

"Error loading the SDK

Error: Error parsing the SDK.
/home/anders/opt/android-sdk-linux_x86-1.1_r1/plartforms is missing"


--~--~---------~--~----~------------~-------~--~----~



Error when setting the android preferences in eclipse.

by Paul Turchenko » Wed, 13 May 2009 05:22:20 GMT


 It seems like you have outdated SDK. New eclipse add-on (starting from
v. 0.9.0) doesn't recognize SDK 1.1. However, if you need to develop
for SDK 1.1 you simply set target name to android 1.1 and reference
1.1. library from your application. This should work.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Error when setting the android preferences in eclipse.

by byroneekh...@gmail.com » Fri, 22 May 2009 01:56:59 GMT


 Hi,

I have the same problem,
I work with: Eclipse Platform Version: 3.4.2
I have downloaded android-sdk-windows-1.5_r1 but when I set the
location to:
D:\Android\android-sdk-windows-1.1_r1

I get the same error:

"Error loading the SDK

Error: Error parsing the SDK.
D:\Android\android-sdk-windows-1.1_r1/plartforms is missing"

While using 1.5 SDK!

please help... :), thnx

Byron





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Google Visualizations don't render in Android browser.

My company uses Visualizations to draw dynamic charts (not images).
These display properly in every other webkit browser (including mobile
safari). For some reason they charts do not display in the android
browser (they do however work in Opera mini).

I'm happy to share my code/samples with any dev willing to work on
this. Right now I have to tell my customers to use a Palm or iPhone to
get mobile access to their analytics.

Brian Roy
justSignal.com

-- 

2. (un)registerReceiver not giving expected results.

Hi all,

I would like to register a broadcast receiver on onStart of an
activity and then unregister the receiver when the activity gets
onStop called. When I debug I see that both of these calls are made
when I expected, but for some reason, my broadcast receiver keeps
handling intents.

Can someone please enlighten me as to why the receiver is still
processing intents, even when I have called unregistered the receiver?

Best regards,

Alex

public class Main extends Activity {
        private static final String SMS_RECEIVED
="android.provider.Telephony.SMS_RECEIVED";

        SMSReceiver r;
        IntentFilter smsFilter ;
        int resume = 0;
        int pause = 0;

        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
                r = new SMSReceiver();
                smsFilter = new IntentFilter();
                smsFilter.addAction(SMS_RECEIVED);
        }

        @Override
        protected void onStart() {
                this.registerReceiver(r, smsFilter);
                resume++;
                super.onStart();
        }

        @Override
        protected void onStop() {
                this.unregisterReceiver(r);
                pause++;
                super.onStop();
        }
}



<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.SMSHandsFree"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".Main"
                  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>
    <uses-sdk android:minSdkVersion="3" />
        <uses-permission android:name="android.permission.RECEIVE_SMS" />
        <uses-permission android:name="android.permission.READ_CONTACTS" />
</manifest>

-- 

3. Error while setting content view in an activity called from another activity

4. Android plugin for Gradl

5. Code for Retrieving Profile details using android

6. Android Seeding Phone Swap - Nexus One Or Android

7. Seeking guidance