I've downloaded such an open source android project from github repo. , and the classes which I want to edit are under build/intermediates/exploadded-aar/ly.img.android/photo-editor-sdk/2.0.13/jars , then there is classes.jar folder , inside this I have more folders one child contains classes , I want to edit in file called "ImgLyConfig.class" , when I unzip .jar file and go to that class I found it like this , what I do is go to online decompiler http://www.javadecompilers.com/ , then I have a decompiled class I downloaded it , and edit whatever I want , then I want to replace ImgLyConfig.class file which is in the .jar file with my new edited one ,
I tried this soultion How do you recompile a jar file? , and other many solutions in Google and in Stackoverflow , but still my classes didn't edited , also I tried to create such a new class and copy the code of the class I want , but I didn't know how to make code use the new class not the old one , also I've tried to extends it and change in it but I've failed also :/
NP :
my class in android studio looks like this : and it doesn't accepting any editing
, my android studio is 2.1.2 and library which I want to edit in github is https://github.com/imgly/imgly-sdk-android-demo ,