phhusson / Superuser

Keeping koush's Superuser fresh
GNU General Public License v3.0
423 stars 50 forks source link

Build Error while trying to embed superuser app into Settings. #74

Open pundirsumit opened 6 years ago

pundirsumit commented 6 years ago

The following is the build error when i am trying to embed the source into the settings app.

FAILED: /media/pundirsumit/work/aosp_out/AOSP/target/product/mido/obj/APPS/Settings_intermediates/package-res.apk /bin/bash /media/pundirsumit/work/aosp_out/AOSP/target/product/mido/obj/APPS/Settings_intermediates/package-res.apk.rsp external/koush/Superuser/Superuser/res/values/styles.xml:57: error: style attribute 'attr/iconSize (aka com.android.settings:attr/iconSize)' not found. error: resource style/AppTheme (aka com.android.settings:style/AppTheme) not found. external/koush/Superuser/Superuser/res/values/styles.xml:61: error: style attribute 'attr/iconSize (aka com.android.settings:attr/iconSize)' not found. error: resource style/AppDarkActivityTheme (aka com.android.settings:style/AppDarkActivityTheme) not found. error: resource style/AppTheme (aka com.android.settings:style/AppTheme) not found. error: resource style/AppActivityTheme (aka com.android.settings:style/AppActivityTheme) not found. error: failed linking references.

I am using this commit to get it embedded: https://review.lineageos.org/#/c/LineageOS/android_packages_apps_Settings/+/130399/

Anyone?