SDK-Installation, keine Targets? So geht's!

T

therealhoudini

Ambitioniertes Mitglied
8
Ich habe gerade das SDK installiert und wie auf http://developer.android.com beschrieben konfiguriert.

Das erste bekannte Problem ist, dass die bereits eingetragene https:// Adresse nicht funktioniert. Ich habe dann einfach das https in http geändert und siehe da, er hat mir die Packages installiert.

Jedoch waren, trotz angeblich erfolgreicher Installation, keine Targets vorhanden:

Code:
Starting Android SDK and AVD Manager
Error: Ignoring add-on 'google_apis-3-r03': Unable to find base platform with API level '3'
Error: Ignoring add-on 'google_apis-3-r03-1': Unable to find base platform with API level '3'
Error: Ignoring add-on 'google_apis-4_r02': Unable to find base platform with API level '4'
Error: Ignoring add-on 'google_apis-4_r02-1': Unable to find base platform with API level '4'
Error: Ignoring add-on 'google_apis-5_r01': Unable to find base platform with API level '5'
Error: Ignoring add-on 'google_apis-5_r01-1': Unable to find base platform with API level '5'
Error: Ignoring add-on 'google_apis-5_r01-2': Unable to find base platform with API level '5'
Error: Ignoring add-on 'google_apis-6_r01': Unable to find base platform with API level '6'
Error: Ignoring add-on 'google_apis-6_r01-1': Unable to find base platform with API level '6'
Error: Ignoring add-on 'google_apis-7_r01': Unable to find base platform with API level '7'
Error: Ignoring add-on 'google_apis-7_r01-1': Unable to find base platform with API level '7'
Error: Ignoring add-on 'google_apis-7_r01-2': Unable to find base platform with API level '7'
Folgendes hat bei mir geholfen:

in der androidtool.cfg folgende Zeile hinzufügen:
Code:
sdkman.force.http=true
und in der Umgebungsvariable PATH nicht nur den Pfad zu
Code:
c:\android-sdk-windows\tools
sondern auch zu
Code:
c:\android-sdk-windows
angeben.

Fertig.
 
therealhoudini schrieb:
in der androidtool.cfg folgende Zeile hinzufügen:
Code:
sdkman.force.http=true
Diese Datei gibt es bei mir nicht. Aber wenn ich den Häken bei den Einstellungen "HTTP statt HTTPS" mache, dann geht es.
 

Ähnliche Themen

5
Antworten
22
Aufrufe
1.414
590239
5
E
Antworten
4
Aufrufe
1.222
enrem
E
A
Antworten
17
Aufrufe
1.848
starbright
S
Zurück
Oben Unten