-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Failed to find byte code for com/mapzen/android/lost/api/LostApiClient$ConnectionCallbacks #1943
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
Comments
Have you tried "Clean project" and then building again? |
I've been having the same problem lately. Here's what I tried:
None of the above worked. However, I have no problems on older branches from 2016. |
Hmm, interesting. I am able to build master on prodDebug, and the Travis build is passing. What version of Android Studio and what build variant are you using? |
I tried with Android studio versions 3.1.3 and 3.2.1. Build variant betaDebug. |
prodDebug has the same problem for me as well. |
Is anyone else able to reproduce this? I have no idea why it works for some people and not for others. :/ What OS are both of you using? Does the 2.8-release branch build for you? As an aside, my AS version is 3.1.4, but I doubt there would be much difference between that and the one you used. |
Windows 10. |
A follow up. I modified the dependecies gradle version from 3.1.4 to 3.2.0. Then the app can be built and installed. However, the app throws a new Exception when it's trying to load iamge for "Explore".
Android Studio Version: 3.2.1 |
Great to hear that, @sonofspring2 ! We should probably be updating our Gradle build tools version anyway, so feel free to submit a PR for that along with your investigations on the Explore exception. |
Managed to reliably recreate (at least on my machine). For me, it's whenever instant run is enabled. To disable instant run (and get rid of this error), disable instant run: I've reported an issue with instant run on this - if others with the same problem do hopefully it'll help them fix it quicker. The instructions are in that settings page, and appear when you disable instant run. Android Studio version:
|
It works now. Thank you @domdomegg |
Thanks for the investigation @domdomegg . :) |
Summary:
I tried to build the project after cloning the project from github. But I found a build error:
Failed to find byte code for com/mapzen/android/lost/api/LostApiClient$ConnectionCallbacks
Add System logs:
I am pretty new to android world. Does anyone have the same issue? Or Do I miss something? Thank you!
The text was updated successfully, but these errors were encountered: