question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android_local_test on Windows: path doesn't exist in MANIFEST file

See original GitHub issue

Repro 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:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
laszlocsomorcommented, Mar 26, 2019

It’s a launcher bug. Fixing it.

0reactions
jincommented, Mar 27, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found