Skip to content Skip to sidebar Skip to footer

Android Install Apk Programmatically Error - Package Parse Error

I create an Edittext at my page, to allow user to update the apps by downloading the apk and install. I am using loojp library to handle the Asynctask. My code at activity: f0text

Solution 1:

Ok found a solution from other forum(xamarin) and solve my problem.. You need to save the APK to a public directory.

For example:

Stringpath= Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)+"/MM.apk";

Solution 2:

Post a Comment for "Android Install Apk Programmatically Error - Package Parse Error"