Я выполняю все шаги, используя эту ссылку .
Сборка прошла успешно, но когда я говорю make -j4
, я получаю следующую ошибку:
frameworks/base/libs/utils/RefBase.cpp: In member function ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘voidandroid::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/libs/utils/ResourceTypes.cpp: In member function ‘void android::ResTable::print(bool) const’:
frameworks/base/libs/utils/ResourceTypes.cpp:4369:84: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/libs/utils/ResourceTypes.cpp:4375:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
frameworks/base/libs/utils/ResourceTypes.cpp: At global scope:
frameworks/base/libs/utils/ResourceTypes.cpp:4429:1: fatal error: opening dependency file out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/ResourceTypes.d: Permission denied
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/ResourceTypes.o] Error 1
Почему я получаю эту ошибку ??Что-то я сделал не так?Спасибо за любую помощь!