2014年3月27日 星期四

[程式] ADT Problem & Solution

  • [ P ]
    Android SDK Manager Error "Peer not authenticated" -
    While using Android ADT -> Window -> Android SDK Manager to install packages
    the error massage "Peer not authenticated" shows up.
    [ S ]
    In the Android SDK Manager window, choose Tools -> Options
    Check "Force https://... sources to be fetched using http://..."

  • [ P ]
    使用 ADT 時,當按下 Run as application 時無任何反應
    [ S ]
    確定正確連接欲執行的 Device。若為實體 device,確認確實連接並開啟 USB 偵錯模式;若為模擬 device,須先透過 Android Virtual Device Manager 啟動。

  • [ P ]
    After updating Android SDK with Android SDK Manager in ADT and restart ADT,
    error message shows
    This Android SDK requires Android Developer Toolkit version 22.6.2 or above.
    Current version is 22.3.0.v201310242005-887826.
    Please update ADT to the latest version.
    After Clicking "Check for updates", message "No updates were found." is showed.
    [ S ]
    In ADT, Help > Install new software...
    > choose "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/" in field "Work with"
    > check "Developer Tools" and finish the following steps
    REF:
    http://stackoverflow.com/questions/12634568/how-can-i-update-my-adt-in-eclipse

  • [ P ]
    While updating ADT with the steps in previous item,
    error message shows
    An error occurred while collecting items to be installed
    session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
    No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.base,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.ndk,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,21.1.0.v201302060044-569685
    No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ndk,21.1.0.v201302060044-569685
    No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,21.1.0.v201302060044-569685
    
    [S]
    Try to uncheck "Contact all update sites during install to find required software" in the "Install new software..." page.
    REF:
    http://stackoverflow.com/questions/15376948/updating-eclipse-sdk-error

  • [P]
    Error message "An internal error occurred during: "Building workspace". Java heap space"
    [S]
    Change the corresponding content in file eclipse.ini to
    -Xms512m
    -Xmx1024m

沒有留言:

張貼留言