Very nice tutorial, thank you very much!
I do not know sice when, but at least AIDE 3.1.3 offers Gradle for building, exactly like Android Studio does, enabling you to move the project between desktop and phone if necessary, without changing too much about the whole structure. Eclipse support is dying anyway
Anyway, with Gradle, keeping using the regular method of importing xposed means circumventing this build system.
Proper importing would be better, at least this is what fuzion24 says on GitHub
(and a few other people say, too).
Updated instructions for creating a basic a Gradle Xposed module with AIDE 3.1.3:
- Create new project -> Android App -> New Android App (Gradle/Android SDK/Java/Xml)
- Open File Manager and create the folder MyProject/app/libs, place extracted Xposed library there
- In your Aide project navigate to MyProject/app/src/main/java/com/mycompany/myapp/ and click "Add New Class...", name it 'Tutorial.java'.
(or change the "public class Tutorial" in the code below to what you named the .jar file)
- In Aide navigate to (or create if it does not exist) the MyProject/app/src/main/assets folder and create a new file named 'xposed_init'.
Enter "com.mycompany.myapp.Tutorial" or change to the name you gave in step 5.
New Step 7: (do this and Step 6 earlier to allow AIDE auto completion)
- Open MyProject/app/build.gradle
Add to the bottom of the file:
provided fileTree(dir: 'libs', include: ['*.jar'])
If your build.gradle file already contains a 'dependencies' section, just add the "provided ..." line to the section.
Everything else can be left as-is.
That's it, the project will build and run using Gradle in AIDE 3.1.3.
Again, thank you very much for this nice tutorial.