jeudi 30 avril 2015

[Q] Replace method and framework.jar topic


Hi guys, i am learning how to build xposed modules, actually i already built a small module for a few personal things, but now i want to fix a bug i have on my cyanogen. I know cyanogen is open , and i could just download it and compile it , but i want to learn xposed, so it will be a challenge.

Well, i need to replace a method , but looking at the original method there is a line i will need to keep:

Final Set<String> ret = Sets.newHashSet()

where Sets is from 'import com.google.android.collect.Sets;'

Since i do not have this class, how can i make that line to compile ? I think com.google.android.collect.Sets is inside framework.jar, but it appears to be odexed, so eclipse does not recognize if i try to put on build path.

Sorry it the question is too simple, i am still learning =)

xda-developers