Comments (13)
I am getting this error in debug build where let code is in classes2.dex while in release build there is only one dex file so not getting this error.
from let.
Thanks @jachenry .
Strange. It seems like a compile time thing. What is the java version you're targeting ? 1.6, 1.7 ?
I'll try to dig into this issue as soon as I can. In the meantime I'll be happy to hear about your progress.
from let.
@canelmas I'm targeting 1.8 in order to use retrolambda plugin. It may only be an issue on emulators. I'll keep you posted on any updates.
from let.
I'm having the same problem with APIs prior to 21. Strangely I too am doing some location related stuff after getting the permission.
from let.
I think this issue happens on multidex build where let code is in secondary .dex file.
from let.
@embydextrous My build was not multidex.
from let.
Hi guys,
I could circumvent this problem building as release too.
I have java 1.7 as target and the problems exists with Android 4.4 and 4.3 installations over here.
Regards
-Marko
from let.
This seems to be because of code swapping added with android gradle plugin 2+. It works fine when building using command line or instant run turned off.
Possibly related to https://code.google.com/p/android/issues/detail?id=204360
from let.
Can you guys please confirm if this is the case as well for you?
@okram2000 @embydextrous @2hamed @jachenry
from let.
If this is the issue with code swapping. It should not have been observed in release builds.
Code swapping does not work for release builds.
from let.
I had the issue with a release build as well. Will test more though.
UPDATE: Tested again with Instant Run
disabled and it worked!
from let.
Hey guys,
I cannot reproduce this error with release builds. Only with debug builds!
Furthermore:
Disabling instant run also fixes this error for me!
Greetings
-Marko
from let.
I have also not observed this error in release builds. I think instant run is the culprit. But I guess when I got this error first time I was using a lower version of android studio and instant run was not present.
Instant run is nightmare a lot of times. Sometimes it swaps my icons and do stupid stuff. I think this is not a library bug.
from let.
Related Issues (20)
- Memory leak detected by LeakCanary HOT 2
- Leaked Activity instance HOT 3
- onPermissionDenied() never called HOT 2
- Let will only execute the annotated method the second time it's called HOT 1
- com.canelmas.let.LetException: Delayed Execution Failed! HOT 2
- Use with Kotlin HOT 5
- Asking for permission before starting a download session with download manager brings "Screen overlay detected" screen on Samsung Devices (Tested with s6 and s7) HOT 1
- Loss data after rotation.
- Logger flooding
- permission dialog will not trigger in release apk but works fine in debug
- Request a permission causes a crash in Android O HOT 3
- Use Transform API
- Button set text not working when method has @AskPermission annotation
- Permission alert not showing once use Java 8 compileoptions
- Problems using with Android Library
- Add Instant App support
- Build time significantly increased?
- Canelmas not working while adding Firebase Performance library . if i remove firebase_pref , it wokring
- let-plugin: build.gradle should use 'implementation' instead of 'compile'
- Let beta wrong dependency included
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from let.