Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Error On Android 11 But Works On Lower Devices #7

Closed
irajeshh opened this issue Oct 3, 2021 · 3 comments
Closed

Parsing Error On Android 11 But Works On Lower Devices #7

irajeshh opened this issue Oct 3, 2021 · 3 comments

Comments

@irajeshh
Copy link

irajeshh commented Oct 3, 2021

Code:

void update()async{
String filePath = '/storage/emulated/0/Download/newVersion2.apk'; //manually pasted the apk file from pc to Download folder
await AppInstaller.installApk(filePath); 
}

Plugin Version: app_installer: ^1.1.0

Permissions Used:

  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

Devices:
✅Works on Android 6.0.1
∟Samsung J2 Prime

⛔ Parsing Error on Android 11
∟Vivo y11

Note: I have not tested it on other android versions.

@shimangdian
Copy link

i get this too.
parsing error on android 11.

@irajeshh
Copy link
Author

@shimangdian My purpose is In app updating, and I used r_upgrade. It works very well. If it's not your case leave it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants