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

Error while building the app - flutter version 3.29.0 #74

Open
ponnamkarthik opened this issue Feb 22, 2025 · 0 comments
Open

Error while building the app - flutter version 3.29.0 #74

ponnamkarthik opened this issue Feb 22, 2025 · 0 comments

Comments

@ponnamkarthik
Copy link

Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
/Users/karthikponnam/.pub-cache/hosted/pub.dev/appspector-0.10.0/android/src/main/java/com/appspector/flutter/AppSpectorPlugin.java:6: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
symbol: class Registrar
location: interface PluginRegistry
/Users/karthikponnam/.pub-cache/hosted/pub.dev/appspector-0.10.0/android/src/main/java/com/appspector/flutter/AppSpectorPlugin.java:37: error: cannot find symbol
public static void registerWith(Registrar registrar) {
^
symbol: class Registrar
location: class AppSpectorPlugin
warning: unknown enum constant Include.NON_EMPTY
reason: class file for com.fasterxml.jackson.annotation.JsonInclude$Include not found
warning: unknown enum constant Include.NON_EMPTY
/Users/karthikponnam/.pub-cache/hosted/pub.dev/appspector-0.10.0/android/src/main/java/com/appspector/flutter/MainAppSpectorHandler.java:202: warning: [deprecation] Handler() in Handler has been deprecated
final Handler mainHandler = new Handler();
^
2 errors
6 warnings

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':appspector:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:

Run with --info option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 9m 47s
Error: Gradle task assembleDebug failed with exit code 1

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

1 participant