When building apk,error:Android resource linking failed


#1

我在build apk時跳出以下的error message
將maven {url“https://maven.google.com”}加到build.gradle後也沒有作用 請問該如何解決呢

Android resource linking failed
warn: removing resource com.aprbrother.aprilbeacondemos:string/advinterval without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/battery without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/cancel without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_model_to_ibeacon without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_model_to_ibeacon_uid_url without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_model_to_uid without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_model_to_ulr without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_uid without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_uid_custom without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_uid_name_space without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/change_url without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/current_model without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/firmware_version without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/getBattery without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/get_advinterval without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/get_device_info without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/get_firmware_version without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/get_manufacturer without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/get_transmitting_power without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/input_password without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/manufacturer without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/modify_beacon without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/start_background_notify without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/start_modify without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/sure without required default value.
warn: removing resource com.aprbrother.aprilbeacondemos:string/transmitting_power without required default value.
W/ResourceType(12332): For resource 0x0101053d, entry index(1341) is beyond type entryCount(1329)
W/ResourceType(12332): For resource 0x0101053e, entry index(1342) is beyond type entryCount(1329)
W/ResourceType(12332): For resource 0x0101053b, entry index(1339) is beyond type entryCount(1329)
W/ResourceType(12332): For resource 0x0101053c, entry index(1340) is beyond type entryCount(1329)
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:16: error: resource string/current_model (aka com.aprbrother.aprilbeacondemos:string/current_model) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:28: error: resource string/change_model_to_ulr (aka com.aprbrother.aprilbeacondemos:string/change_model_to_ulr) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:40: error: resource string/change_model_to_uid (aka com.aprbrother.aprilbeacondemos:string/change_model_to_uid) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:52: error: resource string/change_model_to_ibeacon (aka com.aprbrother.aprilbeacondemos:string/change_model_to_ibeacon) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:64: error: resource string/change_model_to_ibeacon_uid_url (aka com.aprbrother.aprilbeacondemos:string/change_model_to_ibeacon_uid_url) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemo_emphasized text_s_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:83: error: resource string/change_url (aka com.aprbrother.aprilbeacondemos:string/change_url) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:103: error: resource string/change_uid (aka com.aprbrother.aprilbeacondemos:string/change_uid) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:122: error: resource string/change_uid_name_space (aka com.aprbrother.aprilbeacondemos:string/change_uid_name_space) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_eddystone_modify.xml:140: error: resource string/change_uid_custom (aka com.aprbrother.aprilbeacondemos:string/change_uid_custom) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:93: error: resource string/modify_beacon (aka com.aprbrother.aprilbeacondemos:string/modify_beacon) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:196: error: resource string/start_modify (aka com.aprbrother.aprilbeacondemos:string/start_modify) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:204: error: resource string/get_device_info (aka com.aprbrother.aprilbeacondemos:string/get_device_info) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:221: error: resource string/battery (aka com.aprbrother.aprilbeacondemos:string/battery) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:235: error: resource string/getBattery (aka com.aprbrother.aprilbeacondemos:string/getBattery) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:255: error: resource string/transmitting_power (aka com.aprbrother.aprilbeacondemos:string/transmitting_power) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:269: error: resource string/get_transmitting_power (aka com.aprbrother.aprilbeacondemos:string/get_transmitting_power) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:289: error: resource string/advinterval (aka com.aprbrother.aprilbeacondemos:string/advinterval) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:303: error: resource string/get_advinterval (aka com.aprbrother.aprilbeacondemos:string/get_advinterval) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:323: error: resource string/firmware_version (aka com.aprbrother.aprilbeacondemos:string/firmware_version) not found.
C:\Users\a0769\Downloads\AprilBeacon-Android-SDK-master\AprilBeaconDemos_android_studio\app\src\main\res\layout\activity_modify.xml:337: error: resource string/get_firmware_version (aka com.aprbrother.aprilbeacondemos:string/get_firmware_version) not found.