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:

[CODE]
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.
[/CODE]

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:

[CODE]
<?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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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. –>
<permissions>
<feature name=”android.hardware.fingerprint” />
</permissions>
[/CODE]

Or you can download it here: https://android.googlesource.com/platform/frameworks/native/+/master/data/etc/android.hardware.fingerprint.xml

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

Your email address will not be published. Required fields are marked *