Android Application with android-support-v4.jar added to lib facing error while trying to sign in using proguard in IntelliJ Idea

孤人 提交于 2019-11-30 15:52:07

add this cfg line: -dontwarn android.support.** you can see it in you sdk like: android-sdks/tools/proguard/docs/index.html which say : If you're using the Android Compatibility library, you should add the following line, to let ProGuard know it's ok that the library references some classes that are not available in all versions of the API:

-dontwarn android.support.**

I found the a hack for the problem i have added a command in progaurd.cfg and vola it works fine now

-dontwarn android.support.v4.**

I am not sure if its the right way, because as i understand, i am just suppressing the warnings.

-dontwarn android.support.v4.** Worked for me.

While the min SDK level is 9 you can target higher SDK levels, if you haven't tried this I'd suggest targeting 14, this solves a very similar problekm for me.

If you download the last version of Android tools, you should place the support library on the /libs folder.

Maybe this is your problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!