Package doesn't exist error android
See original GitHub issueThis error is thrown while building the app for android
\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:20: 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:
- Created 2 years ago
- Reactions:2
- Comments:7
Top 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 android.support.annotation does not exist
Learn how to fix package android.support.annotation 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am also facing same issue with 3.3.0
My solution
Comment
Remove buildscript { repositories { // … maven { url ‘https://plugins.gradle.org/m2/’ } // Gradle Plugin Portal } dependencies { // … // OneSignal-Gradle-Plugin classpath ‘gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.12.8’ } }
apply plugin: ‘com.onesignal.androidsdk.onesignal-gradle-plugin’
Change distributionUrl=https://services.gradle.org/distributions/gradle-6.7.1-all.zip to distributionUrl=https://services.gradle.org/distributions/gradle-7.4-all.zip
Change maven { url ‘https://maven.google.com’ } to google()