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

[BUG] Gomobile packaging AAR access project error #645

Open
liloutest opened this issue Aug 7, 2024 · 3 comments
Open

[BUG] Gomobile packaging AAR access project error #645

liloutest opened this issue Aug 7, 2024 · 3 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@liloutest
Copy link

OpenIM SDK Version

3.8.0

SDK Platform

Android SDK

Device Model

nova 10 SE, BNE-AL00

Operating System Version

HarmonyOS 4.2.0

Bug Description and Steps to Reproduce

I am using gomobile to package the aar access project for the openim sdk core project, and there is an error message indicating runtime. jar: D8: java. lang. PullPointer Exception: Cannon invoice "String. length()" because "" is null

Screenshots Link

No response

@liloutest liloutest added the bug Categorizes issue or PR as related to a bug. label Aug 7, 2024
@FGadvancer
Copy link
Member

It appears to be an Android-level build issue. You can try to emulate the approach used in the Android-demo by including the Android SDK and then verify if it runs correctly. If the issue persists, you can submit more detailed information, and I will continue to assist you.

If you need further help, please feel free to reach out.

@liloutest
Copy link
Author

But I downloaded the Flutter demo project, developed based on Flutter, and made changes to the native Android version of AAR, which caused errors

@liloutest
Copy link
Author

core-sdk-3.8.0.aar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants