Stop. No rule to make android.hardware.fingerprint.xml

Stop. No rule to make android.hardware.fingerprint.xml

As I continue to attempt successful builds on the TBLTETMO, TBLTEXX, and TBLTESPR, I came accross this error:

make: *** No rule to make target `frameworks/native/data/etc/android.hardware.fingerprint.xml’, needed by `/home/alaskalinuxuser/Documents/projects/phones/compile/build_cm12_mickey/out/target/product/tbltexx/system/etc/permissions/android.hardware.fingerprint.xml’. Stop.

Obviously, just a missing file. I searched around a bit on Google, and finally found the answer. I copied this text and made my own file at frameworks/native/data/etc/android.hardware.fingerprint.xml, it looks like this:

<?xml version=”1.0″ encoding=”utf-8″?>
<!– Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
See the License for the specific language governing permissions and
limitations under the License.
<!– This is the standard set of features for a biometric fingerprint sensor. –>
<feature name=”android.hardware.fingerprint” />

Or you can download it here:

For better or worse, the error has cleared. Apparently all it needed was a feature name, but that’s good enough for me!

Linux – keep it simple.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s