Anton2319 / VPNoverSSH

Systemwide Android VPN through SSH tunnel (in development)
7 stars 4 forks source link

aapt2-windows.jar #3

Closed HamedAp closed 11 months ago

HamedAp commented 11 months ago

Hello I want to make project and i got this error :

`Execution failed for task ':app:processDebugResources'.

Could not isolate parameters com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@2274392c of artifact transform AarResourcesCompilerTransform Could not isolate value com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@2274392c of type AarResourcesCompilerTransform.Parameters Could not resolve all files for configuration ':app:detachedConfiguration2'. Could not find com.android.tools.build:aapt2:8.0.0-9289358. Searched in the following locations:

           Would you please help me with that ? 
Anton2319 commented 11 months ago

I've never built this project on Windows, so I have no idea what might go wrong. My assumption is that either the google repository in your country is blocked (see this answer), in which case you would have to use a proxy or a VPN, or the Android Studio version is outdated. What Windows version and Android Studio version are you using to build it? I would appreciate it if you could figure out what went wrong and report it here, I will update my readme with build instructions for Windows. If nothing helps, I can suggest creating a WSL environment and building this project there via gradlew build. You can use my build as well if you simply want a working release: https://github.com/Anton2319/VPNoverSSH/releases/tag/v1.0-prerelease

HamedAp commented 11 months ago

I Found the problem . its JDK Version .
Would you please tell me about your JDK version ?