Android is Apache, which is relatively friendly.
1. You need to give the user of the code a copy of the Apache license.
2. If the code is modified, it needs to be explained in the modified file.
3. In the extended code (the modified code and the code derived from the source code), it is necessary to include the description of the agreement, trademark and patent statement specified by the original author in the original code.
4. If the redistributed product contains a notification file, you need to have an Apache license in the notification file. You can add your own license to the notification, but it cannot be displayed as a change to the Apache license.
Apache license is also a business-friendly license. Users can also modify the code as needed and publish/sell it as an open source or commercial product.