MichaelRocks / paranoid

String obfuscator for Android applications.
Apache License 2.0
671 stars 79 forks source link

Error while building Debug Apk #4

Closed Faiyyaz closed 7 years ago

Faiyyaz commented 7 years ago

Error:Execution failed for task ':app:transformClassesWithParanoidForDebug'.

com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.ClassNotFoundException: android.location.Address

MichaelRocks commented 7 years ago

Could you please share some code where this bug reproduces?

Faiyyaz commented 7 years ago

Actually i m not getting any exact line number or in which file i m getting the error. It just pop up when i try to build release or debug apk

MichaelRocks commented 7 years ago

Is this an open source project? In case it's not, can you create a sample project where this bug reproduces? Anyway, it will be nice if you build your project with --debug and --stacktrace flags, and attach the build log to this issue.

./gradlew assembleDebug --debug --stacktrace > build.log 2>&1
Faiyyaz commented 7 years ago

It is not an open source project. It is my company project.

Thank you for your method i will try the same and revert you ASAP

Faiyyaz commented 7 years ago

stacktrace2 stacktrace3 stacktrace4 stacktrace stacktrace1

Please check the stacktraces as request by you. Thank you.

MichaelRocks commented 7 years ago

@Faiyyaz Thank you for the stacktrace. Please try the new version.

Faiyyaz commented 7 years ago

Okk will try and let you know Thank you for your help. It meant a lot to me

Faiyyaz commented 7 years ago

Thank you for your response.

We are very grateful to you. Our app has been successfully build and thank you again for your help.