Hi All,
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.
Thanks,
Sachin