Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Package doesn't exist error android

See original GitHub issue

This error is thrown while building the app for android

\android\app\src\main\java\io\flutter\plugins\ error: package vn.hunghd.flutterdownloader does not exist
    flutterEngine.getPlugins().add(new vn.hunghd.flutterdownloader.FlutterDownloaderPlugin());
```                                                             ^
using latest version of plugin and flutter.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

Dalakoti07commented, Nov 2, 2022

I am also facing same issue with 3.3.0

cvalabcommented, Nov 7, 2022

My solution

  1. Comment

     <!-- declare customized Initializer -->
     <!-- <provider
             android:value="5" />
  2. Remove buildscript { repositories { // … maven { url ‘’ } // Gradle Plugin Portal } dependencies { // … // OneSignal-Gradle-Plugin classpath ‘’ } }

apply plugin: ‘com.onesignal.androidsdk.onesignal-gradle-plugin’

  1. Change distributionUrl= to distributionUrl=

  2. Change maven { url ‘’ } to google()

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio library "error: package does not exist"
This error happens when you change the package name and try to run the code. this occurs because the android studio still has...
Read more >
How To Fix R Error: package r does not exist - ProgrammingR
The most common solution is to clean your Android project and then rebuild it. To do this find “build” on the menu in...
Read more >
package does not exist - android build fail · Issue #171 - GitHub
I had the issue as not having imported, but it was used in the onCreate. import android.os.Bundle; ...
Read more >
error: package does not exist
Learn how to fix package does not exist error when building your application.
Read more >
Error: package android.content does not exist import android ...
After installed @capacitor/app getting error: package android.content does not exist import android.content.Intent;
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found