2012-04-08 3 views
0

Ich habe zwei Probleme mit Android SDK. Die erste ist, dass nach der Installation von SDK-Manager kann ich nicht neue Plattform, Tools, sysimage etc online installieren es gibt folgenden Fehler:Android SDK kann keine XML und ArrayIndexOutOfBounds Exception im Projektlauf

Fetching Validate XML XML verification failed for . Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>. Fetched Add-ons List successfully Fetching URL: Validate XML: XML verification failed for . Line -१:-१, Error: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <>. Fetching URL: Validate XML: Failed to fetch URL , reason: addon.xml Done loading packages.

  • habe ich versucht, Kraft https.
  • http anstelle von https.

Ich bin mit DSL für Internet und keine Proxy Internet verbinden mit. Um dieses Problem zu beheben, habe ich auch Proxy-Server versucht, aber alles vergebens.

Also habe ich alle Updates offline installiert APD v2 half mir beim Herunterladen.

Ich habe sowohl Eclipse und Netbeans für dev.Alles gut funktioniert, bis ich versuchte, ein neues Projekt und sogar Beispielprojekt auszuführen.

auf Eclipse gab es mir folgende Fehlermeldung:

Creating redLight-debug-unaligned.apk and signing it with a debug key... D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line: D:\Android\android-sdk\tools\ant\build.: The following error occurred while executing this line: D:\Android\android-sdk\tools\ant\build.: com.android.sdklib.build.ApkCreationException: java.lang.ArrayIndexOutOfBoundsException: 13

: Ich bin in Android-App-Entwicklung und versuche, meine Java-Anwendung für Android neu zu erstellen:

enter image description here

gleiches Problem mit Netbeans war Plattform, aber ich bin im ersten Schritt stecken.

Bitte helfen Sie mir hier.

Antwort

1

Lösung für Ihr erstes Problem ist einfach: Zeile -1: -1, es zeigt Ihre Sprache für Windows os ist auf Hindi (IN_HI) eingestellt. Gehe zu Systemsteuerung Bereich & Sprachoption Sprache für alle Formate in Englisch ändern. Starten Sie den Computer neu & holen Sie XML.

Ich bin auch zweite Problemlösung, dass zugewandt ist, ist noch nicht gefunden Check this: https://groups.google.com/forum/?fromgroups#!topic/android-developers/BvO5g6RMamo

Auch habe ich aktualisiert Bug in Android Fragen: http://code.google.com/p/android/issues/detail?id=28824

+0

Dank für Ihre Antwort danken, halten Sie mich auf den neusten Stand der zweite bitte. –

+1

für zweites Problem erstellen Sie ein neues Projekt mit Testprojekt Option ausgewählt. Dies wird die Android-App kompilieren und ausführen. Danach kann ein beliebiges Projekt ohne erstelltes Testprojekt ausgeführt werden. –

+0

Danke zuerst arbeitete und ich bin auf dem Weg zum zweiten ..... –

Verwandte Themen