You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Unity I can put some Android developed features wrapped into an aar package under Assets/Plugins/Android. It is also possible to pre-modify the contents of mainTemplate.gradle, settingsTemplate.gradle, AndroidManifest.xml.
Problem Description
Cocos doesn't have that right now.
Proposed Solution
Similar to the function under Unity Assets/Plugins, for example, I can encapsulate the Android developed function into an aar package and put it into Assets/Plugins/Android. You can pre-modify the contents of mainTemplate.gradle, settingsTemplate.gradle, AndroidManifest.xml.
StreamingAssets folder function, will build the platform needs to be placed in the assets of the resources directly into this.
3.Calling Android native API through AndroidJavaObject and AndroidJavaClass classes provided by Unity. this way allows you to call Android Java code in C# scripts without writing JNI interfaces.
This is the current gap I see between doing native packages and using Unity.
Putting in the next big release support can all be genuinely desirable with this kind of alignment feature.
How it works
No response
Alternatives Considered
Just implement something similar
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Use Case
When using Unity I can put some Android developed features wrapped into an aar package under Assets/Plugins/Android. It is also possible to pre-modify the contents of mainTemplate.gradle, settingsTemplate.gradle, AndroidManifest.xml.
Problem Description
Cocos doesn't have that right now.
Proposed Solution
Similar to the function under Unity Assets/Plugins, for example, I can encapsulate the Android developed function into an aar package and put it into Assets/Plugins/Android. You can pre-modify the contents of mainTemplate.gradle, settingsTemplate.gradle, AndroidManifest.xml.
StreamingAssets folder function, will build the platform needs to be placed in the assets of the resources directly into this.
3.Calling Android native API through AndroidJavaObject and AndroidJavaClass classes provided by Unity. this way allows you to call Android Java code in C# scripts without writing JNI interfaces.
This is the current gap I see between doing native packages and using Unity.
Putting in the next big release support can all be genuinely desirable with this kind of alignment feature.
How it works
No response
Alternatives Considered
Just implement something similar
Additional Information
No response
The text was updated successfully, but these errors were encountered: