Lint error on compiling AOSO11

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Lint error on compiling AOSO11

vermas...@gmail.com
Hi All,
I am adding one system service in  AOSP 11. I am working on Qualcomm RB3 plateform. So checkout the code from repo init -u https://android.googlesource.com/platform/manifest -b master and
Build:
. ./build/envsetup.sh
lunch db845c-userdebug
make -j4
but getting many lint errors(please check attached screen)


Modified these files to register and add new service
    modified:   Android.bp  //add the path of aidl in filegroup
    modified:   core/java/android/app/ContextImpl.java
    modified:   core/java/android/app/SystemServiceRegistry.java
    modified:   core/java/android/content/Context.java
    modified:   services/java/com/android/server/SystemServer.java

my dummy AIDL is as below
package android.os;

interface IWeightSensor{

/**
* {@hide}
*/
@nullable String setWeight(in int val);
int getWeight();
}
I unable to try what is emitted in the terminal, (method 1 is not possible, since autogenerated file; method 1 is not possible, since mentioned folder is not available ). Please check the screen shot attached for the reference

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to
[hidden email]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/a3d3fc0b-38a9-40bb-9a17-b6a4de0aa7c8n%40googlegroups.com.

lint_error_aosp11.PNG (1M) Download Attachment