dtmilano / CulebraTester2-public

CulebraTester: Snaky Android Testing
Apache License 2.0
139 stars 29 forks source link

Android Nougat #14

Closed neervanbiqs closed 1 year ago

neervanbiqs commented 1 year ago

Is it possible to build apk to work on Android 7?

dtmilano commented 1 year ago

API 24 or 25? Anyway, it might be possible with a few small changes.

neervanbiqs commented 1 year ago

API 25. Could you compile it? Or tell me how to do it. Thx!

neervanbiqs commented 1 year ago

I have successfully compiled apk for API 25. But I can't find Instrumentation apk in build folder. How to compile it?

neervanbiqs commented 1 year ago

already done, thx

neervanbiqs commented 1 year ago

got start-server error. java.time.Duration not found. it is API 26+ class. Do you have prev version without this class?

neervanbiqs commented 1 year ago

If I understand correctly I need your source code with Java ver up to 8

dtmilano commented 1 year ago

IIRC java.time.Duration was used by ktor.

dtmilano commented 1 year ago

Correct! take a look at https://youtrack.jetbrains.com/issue/KTOR-549

neervanbiqs commented 1 year ago

So there is no chance to install Culebra on API 25?

dtmilano commented 1 year ago

You can patch ktor, replace java.time.Duration by something available (IIRC it's just a few places), rebuild CulebraTester-public using the patched version and should work.

dtmilano commented 1 year ago

So as stated before it's not a CulebraTester issue. If you can get ktor compiling and working on API 25, then CulebraTester will work.