Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安卓是引用的是aar文件,可以修改成源文件吗 #1031

Open
jagerrrrr opened this issue Jan 16, 2024 · 3 comments
Open

安卓是引用的是aar文件,可以修改成源文件吗 #1031

jagerrrrr opened this issue Jan 16, 2024 · 3 comments

Comments

@jagerrrrr
Copy link

因为和外面对接,对方网站用的不是Unity.all这个方法,目前在安卓里使用的是aar包,想修改成类似ios那样导出类文件。这样就可以在安卓工程里和原生进行交互,也能修改Unity.call方法了

@KojiNakamaru
Copy link
Member

you can edit plugins/Android/{webview,webview-nofragment}/src/main/java/net/gree/unitywebview/*.java and build your custom *.aar.tmpl by referring https://github.com/gree/unity-webview/tree/09f19253c12e6e817ae492fb1ea2c2f1f53964a0#how-to-build-webviewplugin-aartmpl .

@jagerrrrr
Copy link
Author

jagerrrrr commented Jan 16, 2024

Screenshot 2024-01-16 at 14 44 48 Screenshot 2024-01-16 at 14 44 54

在运行./install.sh的时候报错,sdk这里该怎么办,

@jagerrrrr
Copy link
Author

谢谢,将目录指向了个人的目录后得到了解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants