I tried also with libnativehelper_compat_libc++ with the same issue.

dependency "libnativehelper_compat_libc++" of "libstnfc_nci_jni" missing 
variant:
  os:android, image:product.30, arch:arm64_armv8-a, sdk:, link:shared, 
version:
available variants:
  os:android, image:, arch:arm64_armv8-a, sdk:, link:shared, version:


Le mercredi 21 avril 2021 à 23:23:39 UTC+2, Orion Hodson a écrit :

> Try libnativehelper_compat_libc++ instead.
>
> On Wed, 21 Apr 2021 at 22:12, 'Arach MOHAMMED BRAHIM' via Android Building 
> <android-...@googlegroups.com> wrote:
>
>> I'm trying to compile a JNI in the Android product partition. For that 
>> purpose I added the property product_specific: true in the Android.bp such 
>> as:
>> cc_library_shared { name : "..." ... shared_libs: [ "libandroidicu", 
>> "libnativehelper", "libcutils", "libutils", "liblog", ], proprietary : 
>> false; product_specific: true 
>>
>> Unfortunately, at compilation I have the following error :
>>
>> Android.bp:1:1: dependency "libnativehelper" of "libTest_jni" missing 
>> variant:
>>   os:android, image:product.30, arch:arm64_armv8-a, sdk:, link:shared, 
>> version:1
>>
>> available variants:
>>   os:android, image:, arch:arm64_armv8-a, sdk:, link:shared, version:
>>   os:android, image:, arch:arm64_armv8-a, sdk:, link:shared, version:1
>>   os:android, image:, arch:arm64_armv8-a, sdk:, link:static, version:
>>   os:android, image:, arch:arm64_armv8-a, sdk:, link:static, version:1
>>   os:android, image:, arch:arm_armv8-a, sdk:, link:shared, version:
>>   os:android, image:, arch:arm_armv8-a, sdk:, link:shared, version:1
>>   os:android, image:, arch:arm_armv8-a, sdk:, link:static, version:
>>   os:android, image:, arch:arm_armv8-a, sdk:, link:static, version:1
>>
>> How can I add a product variant to libnativehelper?
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-buildi...@googlegroups.com
>> 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 android-buildi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/abc6c16d-ba46-474e-b51c-d1da3342551dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/abc6c16d-ba46-474e-b51c-d1da3342551dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b82d5dab-9d04-4440-9438-3d889013e1c6n%40googlegroups.com.

Reply via email to