.apk ファイルを実行しようとすると、次のエラーが発生します*install_failed_missing_shared_library*。
5 に答える
コマンド プロンプトで cd を使用して adb のパスに移動し (SDK の platform-tools/ ディレクトリに移動)、コマンドを実行します。
adb -d install path/to/your/app.apk
元:
adb -d install C:/Users/users2/Desktop/adt-bundle-windows-x86/sdk/tools/my.apk
http://developer.android.com/tools/building/building-cmdline.html#RunningOnDeviceを確認してください
こんにちは、このウェブサイトは本当に役に立ちます。
adb フォルダーを環境変数に追加するか、以下のようなスクリプトを使用する必要があります
そこに移動 -> cd C:/Users/users2\Desktop\adt-bundle-windows-x86\sdk\tools.
C:/ Users/users2\Desktop\adt-bundle-windows-x86\sdk\tools\ フォルダにいる場合
C:.....SDK フォルダ...\platform-tools\adb インストール ファイル名.apk
Android 向け Google マップで INSTALL_FAILED_MISSING_SHARED_LIBRARY エラーを回避するには:
1) Google マップ API をインストールします。これは、Eclispe Windows/Android SDK および AVD Manager -> Available Packages -> Third Party Add-ons -> Google Inc. -> Google Inc. による Google API、Android API X で実行できます。
2) コマンドラインから新しい AVD を作成します。これは、ターゲットをリスト (android リスト ターゲット) してから、android create avd -n new_avd_api_233 -t "Google Inc.:Google APIs:X" で実行できます。
3) 次に、Eclipse Windows/Android SDK および AVD Manager で AVD を作成します -> 新規... -> (名前: new_avd_X、ターゲット: Google API (Google Inc.) - API レベル X)
4) Eclipse File/New/Android Project で Android プロジェクトを作成し、Google APIs Build Target を選択します。
5) < アプリケーション> < /アプリケーション> タグの間に < uses-library android:name="com.google.android.maps" /> を追加します。
5) プロジェクトを Android アプリケーションとして実行します。
エラーが続く場合は、まだ問題があります。うまくいけば、このエラーは永遠にあなたの後ろにあります。
- Start the emulator.
- Now Start the console (in Windows Platform), Run -> type cmd, and move to the platform-tools folder of SDK directory.
Paste the APK file in the 'platform-tools' folder.
Then type the following command.
adb install [apk file name]
example:
adb install appname.apk
まずエミュレータを実行します。
次に、実行 -> cmdと入力し、 SDKディレクトリのplatform-toolsフォルダーに移動します。(通常は)。C:\Program Files\Android\android-sdk\platform-tools
APK
ファイルをフォルダに貼り付けplatform-tools
ます。
次に、次のコマンドを入力します。
adb install [apk file name]
例:
adb install my.apk