oneconnectapi / OneConnectSdk-demo-android

OneConnect VPN is a private virtual network that has unique features and has high security. Any Developers can Create their Dream VPN App Using Our SDK and Resource
https://developer.oneconnect.top/
12 stars 2 forks source link

demo_project not working_in my_case #25

Closed akashsingh7895 closed 9 months ago

akashsingh7895 commented 9 months ago

i am opening the demo project but i fount this error --

Cause: superclass access check failed: class butterknife.compiler.ButterKnifeProcessor$RScanner (in unnamed module @0x67876718) cannot access class com.sun.tools.javac.tree.TreeScanner (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x67876718 OneConnectSdk-demo-android 25-11-2023 10_59_42

oneconnectapi commented 9 months ago
https://www.oracle.com/pk/java/technologies/javase/jdk11-archive-downloads.html
Download JDK 11 for your desired OS
Install it
Android Studio-> File -> Project Structure -> SDK Location -> Click on Gradle Settings (blue hightlighted text) -> Select the jdk    11 with 11.0 something version name from list
Run The Project
Boom! it's works