[android-building] Re: GPL projects for Android Q Beta 4

2019-06-18 Thread 'Glenn Kasten' via Android Building
This preview is not intended to be buildable, it is for reference only.

On Sunday, June 16, 2019 at 7:47:45 PM UTC-7, Paulo Costa wrote:
>
> I found this problem too, and for once the fix was exactly what the error 
> suggested: 
>
> LPF + F2FS_SLOT_LEN -> [F2FS_SLOT_LEN] 
>
> However, there are other compilation errors after this one -- I gave up 
> before I could get to the end of a full compilation. 
>
> Also, the tag doesn't have many of the Q's changes -- particularly in 
> framework, most of the new APIs are missing, which makes it kind of useless 
> :/ 
>
> I ended extracting framework.jar from a Q beta 4 device and decompiling it 
> with dex2jar.

-- 
-- 
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/ebe6d4bf-67c4-4ebd-a375-3ff600b98f79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: Android 8.1 build error in ubuntu 14.04

2019-06-18 Thread Tony Yang
I integrated the patch mentioned by Colin and it is workable for me. 
Android 8.1 is building successfully on Ubuntu 18.04.

On Wednesday, March 20, 2019 at 11:49:21 PM UTC+8, Bastien Chanot wrote:
>
> Same issue here, i got the error ERROR: Could not parse 
> android.hidl.base[...]
> I'm building on an Ubuntu 18.10, with ext4 filesystem type.
>
> Anyone have a solution ?
>
> Here is fulll log :
>
> [  0% 1/61244] target Generated: framework <= 
> system/libhidl/transport/base/1.0/IBase.hal
> FAILED: 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates/android/hidl/base/V1_0/IBase.java
>  
>
> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates
>  
> -Ljava -randroid.hidl:system/libhidl/transport android.hidl.base@1.0::IBase"
> ERROR: Could not parse android.hidl.base@1.0::IBase. Aborting.
> [  0% 2/61244] target Generated: framework <= 
> system/libhidl/transport/base/1.0/types.hal
> FAILED: 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates/android/hidl/base/V1_0/DebugInfo.java
>  
>
> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates
>  
> -Ljava -randroid.hidl:system/libhidl/transport 
> android.hidl.base@1.0::types.DebugInfo"
> ERROR: Could not parse android.hidl.base@1.0::types.DebugInfo. Aborting.
> [  0% 3/61244] target Generated: framework <= 
> hardware/interfaces/cas/1.0/types.hal
> FAILED: 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates/android/hardware/cas/V1_0/HidlCasPluginDescriptor.java
>  
>
> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates
>  
> -Ljava -randroid.hardware:hardware/interfaces 
> -randroid.hidl:system/libhidl/transport 
> android.hardware.cas@1.0::types.HidlCasPluginDescriptor"
> ERROR: Could not parse 
> android.hardware.cas@1.0::types.HidlCasPluginDescriptor. Aborting.
> [  0% 4/61244] target Generated: framework <= 
> hardware/interfaces/cas/1.0/types.hal
> FAILED: 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates/android/hardware/cas/V1_0/Status.java
>  
>
> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
> out/target/common/gen/JAVA_LIBRARIES/android.hardware.cas-V1.0-java_intermediates
>  
> -Ljava -randroid.hardware:hardware/interfaces 
> -randroid.hidl:system/libhidl/transport 
> android.hardware.cas@1.0::types.Status"
> ERROR: Could not parse android.hardware.cas@1.0::types.Status. Aborting.
> ninja: build stopped: subcommand failed.
> 16:19:59 ninja failed with: exit status 1
>
> Le jeudi 15 mars 2018 15:52:45 UTC+1, zeo...@naver.com a écrit :
>>
>> Hi
>> When i try to build AOSP O(8.1.0), i got this error. 
>> Can anyone help me on this?
>>
>> [  0% 9/47545] target Generated: android.hardware.usb-V1.1-java <= 
>> hardware/interfaces/usb/1.1/types.hal
>> FAILED: 
>> out/target/common/gen/JAVA_LIBRARIES/android.hardware.usb-V1.1-java_intermediates/android/hardware/usb/V1_1/PortStatus_1_1.java
>> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
>> out/target/common/gen/JAVA_LIBRARIES/android.hardware.usb-V1.1-java_intermediates
>>  
>> -Ljava -randroid.hardware:hardware/interfaces 
>> -randroid.hidl:system/libhidl/transport 
>> android.hardware.usb@1.1::types.PortStatus_1_1"
>> ERROR: Failed to lookup type 'PortMode' at 
>> hardware/interfaces/usb/1.1/types.hal:22.21-28
>> ERROR: Failed to lookup type 'PortStatus' at 
>> hardware/interfaces/usb/1.1/types.hal:45.5-14
>> ERROR: Failed to lookup type 'PortMode_1_1' at 
>> hardware/interfaces/usb/1.1/types.hal:51.14-25
>> ERROR: Failed to lookup type 'PortMode_1_1' at 
>> hardware/interfaces/usb/1.1/types.hal:56.5-16
>> ERROR: Could not parse android.hardware.usb@1.1::types.PortStatus_1_1. 
>> Aborting.
>> [  0% 10/47545] target Generated: android.hardware.usb-V1.1-java <= 
>> hardware/interfaces/usb/1.1/types.hal
>> FAILED: 
>> out/target/common/gen/JAVA_LIBRARIES/android.hardware.usb-V1.1-java_intermediates/android/hardware/usb/V1_1/PortMode_1_1.java
>> /bin/bash -c "out/host/linux-x86/bin/hidl-gen -o 
>> out/target/common/gen/JAVA_LIBRARIES/android.hardware.usb-V1.1-java_intermediates
>>  
>> -Ljava -randroid.hardware:hardware/interfaces 
>> -randroid.hidl:system/libhidl/transport 
>> android.hardware.usb@1.1::types.PortMode_1_1"
>> ERROR: Failed to lookup type 'PortMode' at 
>> hardware/interfaces/usb/1.1/types.hal:22.21-28
>> ERROR: Failed to lookup type 'PortStatus' at 
>> hardware/interfaces/usb/1.1/types.hal:45.5-14
>> ERROR: Failed to lookup type 'PortMode_1_1' at 
>> hardware/interfaces/usb/1.1/types.hal:51.14-25
>> ERROR: Failed to lookup type 'PortMode_1_1' at 
>> hardware/interfaces/usb/1.1/types.hal:56.5-16
>> ERROR: Could not parse android.hardware.usb@1.1::types.PortMode_1_1. 
>> Aborting.
>> [  0% 11/47545] target