π§ Step-by-step wizard for APK to Unity integration - No Gradle required!
The simplest way to integrate Android functionality into Unity!
A complete Unity editor plugin with a step-by-step wizard that:
- π¦ Extracts APIs from APKs - Learn how existing apps work
- π¨ Builds AARs with pure C# - No Gradle installation needed!
- π Generates C# bridges automatically - From Java to Unity
- π Extracts native libraries - Complete integration
Perfect for:
- Using Viture XR SDK from ghostparty.apk
- Integrating third-party Android SDKs without documentation
- Creating standalone Unity apps with native functionality
- Learning Android APIs by example
- One window for everything - No jumping between tools
- Step-by-step guidance - Never get lost
- Visual progress - See where you are
- Smart defaults - Just click Next!
- Pure C# DEX parser (no external tools!)
- Extract class metadata and method signatures
- Preview native libraries (.so files)
- Fast and reliable
- Uses javac + C# ZipArchive
- No Gradle installation needed
- Only requirement: JDK (Unity needs this anyway)
- Builds in seconds
- Automatic Java β C# conversion
- PascalCase naming
- Type-safe wrappers
- XML documentation
1. Window β Package Manager
2. Click '+' β Add package from git URL
3. Enter: https://github.com/rcgeorge/unity-android-bridge-toolkit.git
4. Click 'Add'
Tools β Android Bridge Toolkit β π§ Workflow Wizard (START HERE!)
Then follow the steps:
1. Load your APK (e.g., ghostparty.apk)
2. Select classes you want to use
3. Review generated Java wrapper
4. Build AAR (one click!)
5. Generate C# bridge (automatic!)
6. Extract native libraries
7. Done! Use in Unity!
Goal: Use Viture XR hand tracking without needing ghostparty.apk installed
Step 1: Load ghostparty.apk
β Found 324 classes
β Found libviture_sdk.so
Step 2: Select IXRHandTracking class
β enterExclusiveHandTracking()
β exitExclusiveHandTracking()
β registerHandTrackingListener()
Step 3: Auto-generated Java wrapper loads the .so
Step 4: Build VitureWrapper.aar (10 seconds!)
Step 5: Generate VitureWrapperBridge.cs
Step 6: Extract libviture_sdk.so to Unity
Step 7: Use in Unity!
Result:
using UnityEngine;
public class HandTracking : MonoBehaviour
{
void Start()
{
VitureWrapperBridge.EnterExclusiveHandTracking();
Debug.Log("Hand tracking enabled!");
}
}No ghostparty.apk dependency! β
Only JDK required!
- Unity 2021.3 or newer
- JDK 8+ (Unity needs this for Android anyway)
- JAVA_HOME environment variable set
No Gradle, no Android Studio, no external tools!
Assets/
βββ Plugins/Android/
β βββ VitureWrapper.aar β Your wrapper (built in Unity!)
β βββ libs/
β βββ arm64-v8a/
β βββ libviture_sdk.so β Native library
βββ Scripts/
βββ VitureWrapperBridge.cs β Auto-generated C# bridge
ghostparty.apk
β Extract & Learn
Classes + Native Libraries
β Create Wrapper
Your Java wrapper code
β Build AAR
VitureWrapper.aar
β Generate Bridge
VitureWrapperBridge.cs
β Use in Unity
Standalone app! π
- END_TO_END_WORKFLOW.md - Complete guide
- COMPLETE_APK_INTEGRATION.md - Technical details
- NATIVE_APK_EXTRACTOR.md - Extraction system
The toolkit also provides individual tools for advanced users:
Tools β Android Bridge Toolkit β Advanced/
βββ 1. Extract APK Classes
βββ 2. Generate Bridge
βββ 3. Build AAR
Important:
- β Decompilation for learning and interoperability is generally legal
- β Creating your own implementations is fine
- β Extracting native libraries for your own wrapper is fine
- β Do not copy proprietary code verbatim
- β Respect licenses and terms of service
- β Do not redistribute decompiled code
This tool is for educational and interoperability purposes only.
# Set JAVA_HOME
export JAVA_HOME=/path/to/jdk
# or on Windows:
setx JAVA_HOME "C:\Program Files\Java\jdk-xx"- Verify .so files are in
Assets/Plugins/Android/libs/[arch]/ - Check library name matches in Java:
System.loadLibrary("name") - Ensure correct architecture for your device
- Check build log in wizard
- Verify JDK is installed:
javac -version - Ensure JAVA_HOME is set correctly
MIT License - see LICENSE file for details.
Developed by Instemic for Viture XR development
- Workflow Wizard
- Native APK extraction
- AAR building (no Gradle!)
- Bridge generation
- Native library extraction
- Complete documentation
- Support for more Java types
- Batch processing
- Custom templates library
- UI improvements
- iOS bridge support
- Visual scripting integration
- Cloud build support
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Docs: See documentation files in repo
If this toolkit helps you, please β star the repo!
Made with β€οΈ by Instemic for the Unity community
"From APK to Unity in 7 easy steps!" π§