Warning: Trying to access array offset on value of type bool in /home/andreasd/public_html/wp-content/themes/yolox/theme-specific/theme-tags.php on line 893
Gagal Run pada Projek Aplikasi ke Device Android | Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE /home/andreasd/public_html/wp-content/plugins/trx_addons/includes/plugin.media.php on line 135

Warning: Undefined array key "extension" in /home/andreasd/public_html/wp-content/plugins/trx_addons/includes/plugin.media.php on line 142
http://./-1."/>

Warning: Undefined array key "options" in /home/andreasd/public_html/wp-content/plugins/trx_addons/components/api/elementor/elementor.php on line 1636

Pada kasus tertentu biasanya akan terjadi error saat melakukan proses run. Misalnya saja seperti berikut ini:

(Lihat pada tab Console)

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

Please check logcat output for more details.

Launch canceled!

 

Solusinya sebagai berikut:

  • Klik 2x pada AndroidManifest.xml

  • Tambahkan skrip program berikut: android:installLocation=”preferExternal”

 

Contoh :

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

    package="com.andreas.responsi"

    android:versionCode="1"

    android:versionName="1.0"

    android:installLocation="preferExternal" >
  • Simpan perubahan. Klik Save

  • Jalankan kembali proses run.

 

Image source : https://www.elgrupoinformatico.com/

Baca juga :  Program C++ Menghitung Luas Lingkaran
0 CommentsClose Comments

Leave a comment