android_local_test on Windows: path doesn't exist in MANIFEST file
See original GitHub issueRepro on Windows and Bazel 0.23.2:
git clone https://github.com/bazelbuild/rules_jvm_external
cd rules_jvm_external/examples/android_local_test
bazel test //... --test_output=errors
Error:
PS C:\Users\jingwen\Code\rules_jvm_external\examples\android_local_test> bazel test ... --test_output=errors
INFO: Analysed 6 targets (0 packages loaded, 0 targets configured).
INFO: Found 5 targets and 1 test target...
FAIL: //src/test:main_activity_test (see C:/users/jingwen/_bazel_jingwen/ypfqostr/execroot/__main__/bazel-out/x64_windows-fastbuild/testlogs/src/test/main_activity_test/test.log)
INFO: From Testing //src/test:main_activity_test:
==================== Test output for //src/test:main_activity_test:
LAUNCHER ERROR: Rlocation failed on __main__/external/androidsdk/platforms/android-28/android.jar, path doesn't exist in MANIFEST file
================================================================================
INFO: Elapsed time: 3.740s, Critical Path: 2.04s
INFO: 2 processes: 2 local.
INFO: Build completed, 1 test FAILED, 2 total actions
//src/test:main_activity_test FAILED in 1.2s
C:/users/jingwen/_bazel_jingwen/ypfqostr/execroot/__main__/bazel-out/x64_windows-fastbuild/testlogs/src/test/main_activity_test/test.log
INFO: Build completed, 1 test FAILED, 2 total actions
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
"AndroidManifest.xml doesn't exist or has incorrect root tag" Error
1.Check whether the manifest file is there or not. · 2.If it is there, check whether the package name is correct or not.....
Read more >Known issues with Android Studio and Android Gradle Plugin
The .vmoptions file can be found in the following locations: Windows. C:\Users\YourUserName\AppData\ [Local|Roaming] \Google\AndroidStudio4.2\studio64.exe.
Read more >Environment variables - Android Developers
Learn how to set environment variables for Android Studio and the command-line tools that specify things like where the SDK is installed and ......
Read more >Create and edit run/debug configurations - Android Developers
When you run, debug, or test your code, Android Studio uses a run/debug configuration to determine how to perform the operation.
Read more >Access app-specific files - Android Developers
One directory is designed for your app's persistent files, and another contains your app's cached files. Your app doesn't require any system permissions...
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
It’s a launcher bug. Fixing it.
Great, thank you! No worries, we can wait for 0.25.
That bug looks like it’s unable to access a resource in the classpath from a dep. I’ll take a look at it with your fix.