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
Unresolved reference: VERSION_NAME and VERSION_CODE #83
Comments
Same issue here after upgrading gradle to version 4.1.1 |
i have the same issue |
"getUserAgent" -> {
|
this solved the issue for me |
Closing because it is a duplicate of #79 |
where should i paste this code |
Resolved mine by going to my Projects folder -> External Libraries -> Flutter Plugins -> Flutter_Paystack-{version} Edit the file follows:
|
Its working for me Just need to replace the "getUserAgent" -> { with the below line |
where can i find the project folder pls |
Kindly go to your |
F:\flutter_sdk\flutter.pub-cache\hosted\pub.dartlang.org\flutter_paystack-1.0.4+1\android\src\main\kotlin\co\paystack\flutterpaystack\MethodCallHandlerImpl.kt: (32, 96): Unresolved reference: VERSION_NAME
F:\flutter_sdk\flutter.pub-cache\hosted\pub.dartlang.org\flutter_paystack-1.0.4+1\android\src\main\kotlin\co\paystack\flutterpaystack\MethodCallHandlerImpl.kt: (36, 44): Unresolved reference: VERSION_CODE
Execution failed for task ':flutter_paystack:compileDebugKotlin'.
Flutter Doctor
F:\flutter_sdk\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel dev, 1.26.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.685], locale en-US)
• Flutter version 1.26.0-1.0.pre at F:\flutter_sdk\flutter
• Framework revision 63062a6443 (10 days ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc4)
• Android SDK at \AppData\Local\Android\Sdk
• Platform android-30, build-tools 30.0.0-rc4
• ANDROID_SDK_ROOT = \AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.1)
• VS Code at \AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.17.0
[√] Connected device (5 available)
• Lenovo A7020a48 (mobile) • Android 6.0 (API 23)
• vivo 1818 (mobile) • Android 10 (API 29)
• Android SDK built for x86 (mobile) • Android 10 (API 29) (emulator)
• Chrome (web) • Google Chrome 87.0.4280.88
• Edge (web) • Microsoft Edge 87.0.664.66
• No issues found!
Process finished with exit code 0
The text was updated successfully, but these errors were encountered: