Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.29 KB | None | 0 0
  1. (base) [valent1ne@mad-hatter utils]$ sudo ./run react-native run-android --variant=devDebug
  2. [sudo] password for valent1ne:
  3. info Starting JS server...
  4. info Building and installing the app on the device (cd android && ./gradlew app:installDevDebug)...
  5. Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
  6.  
  7. > Configure project :app
  8. WARNING: The following project options are deprecated and have been removed:
  9. android.enableAapt2
  10. This property has no effect, AAPT2 is now always used.
  11.  
  12.  
  13. Reading env from: .env
  14. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  15. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  16. Reading env from: .env
  17. File /home/dev/.android/repositories.cfg could not be loaded.
  18. Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android-sdk-linux/licenses
  19. License for package Android SDK Build-Tools 28.0.3 accepted.
  20. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)".
  21. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready.
  22. Installing Android SDK Build-Tools 28.0.3 in /opt/android-sdk-linux/build-tools/28.0.3
  23. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete.
  24. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished.
  25. Checking the license for package Android SDK Platform 28 in /opt/android-sdk-linux/licenses
  26. License for package Android SDK Platform 28 accepted.
  27. Preparing "Install Android SDK Platform 28 (revision: 6)".
  28. "Install Android SDK Platform 28 (revision: 6)" ready.
  29. Installing Android SDK Platform 28 in /opt/android-sdk-linux/platforms/android-28
  30. "Install Android SDK Platform 28 (revision: 6)" complete.
  31. "Install Android SDK Platform 28 (revision: 6)" finished.
  32. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  33. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  34. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  35. registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
  36.  
  37. > Configure project :react-native-app-settings
  38. WARNING: The following project options are deprecated and have been removed:
  39. android.enableAapt2
  40. This property has no effect, AAPT2 is now always used.
  41.  
  42.  
  43. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  44. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  45.  
  46. > Configure project :react-native-ble-plx
  47. WARNING: The following project options are deprecated and have been removed:
  48. android.enableAapt2
  49. This property has no effect, AAPT2 is now always used.
  50.  
  51.  
  52.  
  53. > Configure project :react-native-bluetooth-serial
  54. WARNING: The following project options are deprecated and have been removed:
  55. android.enableAapt2
  56. This property has no effect, AAPT2 is now always used.
  57.  
  58.  
  59. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  60. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  61.  
  62. > Configure project :react-native-config
  63. WARNING: The following project options are deprecated and have been removed:
  64. android.enableAapt2
  65. This property has no effect, AAPT2 is now always used.
  66.  
  67.  
  68. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  69. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  70.  
  71. > Configure project :react-native-device-info
  72. WARNING: The following project options are deprecated and have been removed:
  73. android.enableAapt2
  74. This property has no effect, AAPT2 is now always used.
  75.  
  76.  
  77.  
  78. > Configure project :react-native-firebase
  79. WARNING: The following project options are deprecated and have been removed:
  80. android.enableAapt2
  81. This property has no effect, AAPT2 is now always used.
  82.  
  83.  
  84. react-native-firebase: using React Native prebuilt binary from /project/node_modules/react-native/android
  85.  
  86. > Configure project :react-native-i18n
  87. WARNING: The following project options are deprecated and have been removed:
  88. android.enableAapt2
  89. This property has no effect, AAPT2 is now always used.
  90.  
  91.  
  92. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  93. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  94.  
  95. > Configure project :react-native-linear-gradient
  96. WARNING: The following project options are deprecated and have been removed:
  97. android.enableAapt2
  98. This property has no effect, AAPT2 is now always used.
  99.  
  100.  
  101.  
  102. > Configure project :react-native-sentry
  103. WARNING: The following project options are deprecated and have been removed:
  104. android.enableAapt2
  105. This property has no effect, AAPT2 is now always used.
  106.  
  107.  
  108.  
  109. > Configure project :react-native-splash-screen
  110. WARNING: The following project options are deprecated and have been removed:
  111. android.enableAapt2
  112. This property has no effect, AAPT2 is now always used.
  113.  
  114.  
  115. WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  116. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  117. WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
  118. It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
  119.  
  120. > Configure project :react-native-vector-icons
  121. WARNING: The following project options are deprecated and have been removed:
  122. android.enableAapt2
  123. This property has no effect, AAPT2 is now always used.
  124.  
  125.  
  126.  
  127. > Configure project :react-native-version-number
  128. WARNING: The following project options are deprecated and have been removed:
  129. android.enableAapt2
  130. This property has no effect, AAPT2 is now always used.
  131.  
  132.  
  133.  
  134. > Configure project :react-native-video
  135. WARNING: The following project options are deprecated and have been removed:
  136. android.enableAapt2
  137. This property has no effect, AAPT2 is now always used.
  138.  
  139.  
  140.  
  141. > Configure project :react-native-webview
  142. WARNING: The following project options are deprecated and have been removed:
  143. android.enableAapt2
  144. This property has no effect, AAPT2 is now always used.
  145.  
  146.  
  147. :react-native-webview:reactNativeAndroidRoot /project/node_modules/react-native/android
  148.  
  149. > Task :react-native-ble-plx:compileDebugJavaWithJavac FAILED
  150. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:12: error: cannot find symbol
  151. import androidx.annotation.NonNull;
  152. ^
  153. symbol: class NonNull
  154. location: package androidx.annotation
  155. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:13: error: cannot find symbol
  156. import androidx.annotation.Nullable;
  157. ^
  158. symbol: class Nullable
  159. location: package androidx.annotation
  160. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:14: error: cannot find symbol
  161. import androidx.annotation.RequiresApi;
  162. ^
  163. symbol: class RequiresApi
  164. location: package androidx.annotation
  165. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/utils/Constants.java:4: error: cannot find symbol
  166. import androidx.annotation.StringDef;
  167. ^
  168. symbol: class StringDef
  169. location: package androidx.annotation
  170. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/utils/Constants.java:10: error: cannot find symbol
  171. @StringDef({
  172. ^
  173. symbol: class StringDef
  174. location: interface Constants
  175. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/converter/RxBleScanResultConverter.java:3: error: cannot find symbol
  176. import androidx.annotation.NonNull;
  177. ^
  178. symbol: class NonNull
  179. location: package androidx.annotation
  180. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:3: error: cannot find symbol
  181. import androidx.annotation.NonNull;
  182. ^
  183. symbol: class NonNull
  184. location: package androidx.annotation
  185. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:4: error: cannot find symbol
  186. import androidx.annotation.Nullable;
  187. ^
  188. symbol: class Nullable
  189. location: package androidx.annotation
  190. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:5: error: cannot find symbol
  191. import androidx.annotation.NonNull;
  192. ^
  193. symbol: class NonNull
  194. location: package androidx.annotation
  195. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:6: error: cannot find symbol
  196. import androidx.annotation.Nullable;
  197. ^
  198. symbol: class Nullable
  199. location: package androidx.annotation
  200. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Characteristic.java:5: error: cannot find symbol
  201. import androidx.annotation.NonNull;
  202. ^
  203. symbol: class NonNull
  204. location: package androidx.annotation
  205. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleError.java:3: error: cannot find symbol
  206. import androidx.annotation.NonNull;
  207. ^
  208. symbol: class NonNull
  209. location: package androidx.annotation
  210. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleErrorUtils.java:3: error: cannot find symbol
  211. import androidx.annotation.NonNull;
  212. ^
  213. symbol: class NonNull
  214. location: package androidx.annotation
  215. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/utils/Constants.java:29: error: cannot find symbol
  216. @StringDef({
  217. ^
  218. symbol: class StringDef
  219. location: interface Constants
  220. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/utils/RefreshGattCustomOperation.java:4: error: cannot find symbol
  221. import androidx.annotation.NonNull;
  222. ^
  223. symbol: class NonNull
  224. location: package androidx.annotation
  225. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:85: error: cannot find symbol
  226. @Nullable
  227. ^
  228. symbol: class Nullable
  229. location: class BleModule
  230. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:107: error: cannot find symbol
  231. @Nullable
  232. ^
  233. symbol: class Nullable
  234. location: class BleModule
  235. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:111: error: cannot find symbol
  236. @Nullable
  237. ^
  238. symbol: class Nullable
  239. location: class BleModule
  240. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:369: error: cannot find symbol
  241. public void startDeviceScan(@Nullable ReadableArray filteredUUIDs, @Nullable ReadableMap options) {
  242. ^
  243. symbol: class Nullable
  244. location: class BleModule
  245. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:369: error: cannot find symbol
  246. public void startDeviceScan(@Nullable ReadableArray filteredUUIDs, @Nullable ReadableMap options) {
  247. ^
  248. symbol: class Nullable
  249. location: class BleModule
  250. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:632: error: cannot find symbol
  251. public void connectToDevice(final String deviceId, @Nullable ReadableMap options, final Promise promise) {
  252. ^
  253. symbol: class Nullable
  254. location: class BleModule
  255. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1302: error: cannot find symbol
  256. private Characteristic getCharacteristicOrReject(@NonNull final String deviceId,
  257. ^
  258. symbol: class NonNull
  259. location: class BleModule
  260. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1303: error: cannot find symbol
  261. @NonNull final String serviceUUID,
  262. ^
  263. symbol: class NonNull
  264. location: class BleModule
  265. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1304: error: cannot find symbol
  266. @NonNull final String characteristicUUID,
  267. ^
  268. symbol: class NonNull
  269. location: class BleModule
  270. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1305: error: cannot find symbol
  271. @NonNull Promise promise) {
  272. ^
  273. symbol: class NonNull
  274. location: class BleModule
  275. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1301: error: cannot find symbol
  276. @Nullable
  277. ^
  278. symbol: class Nullable
  279. location: class BleModule
  280. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1336: error: cannot find symbol
  281. @NonNull final String characteristicUUID,
  282. ^
  283. symbol: class NonNull
  284. location: class BleModule
  285. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1337: error: cannot find symbol
  286. @NonNull Promise promise) {
  287. ^
  288. symbol: class NonNull
  289. location: class BleModule
  290. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1334: error: cannot find symbol
  291. @Nullable
  292. ^
  293. symbol: class Nullable
  294. location: class BleModule
  295. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1362: error: cannot find symbol
  296. @NonNull Promise promise) {
  297. ^
  298. symbol: class NonNull
  299. location: class BleModule
  300. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1360: error: cannot find symbol
  301. @Nullable
  302. ^
  303. symbol: class Nullable
  304. location: class BleModule
  305. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1376: error: cannot find symbol
  306. private RxBleConnection getConnectionOrReject(@NonNull final Device device,
  307. ^
  308. symbol: class NonNull
  309. location: class BleModule
  310. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1377: error: cannot find symbol
  311. @NonNull Promise promise) {
  312. ^
  313. symbol: class NonNull
  314. location: class BleModule
  315. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1375: error: cannot find symbol
  316. @Nullable
  317. ^
  318. symbol: class Nullable
  319. location: class BleModule
  320. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1387: error: cannot find symbol
  321. private RxBleConnection getConnectionOrReject(@NonNull final Device device,
  322. ^
  323. symbol: class NonNull
  324. location: class BleModule
  325. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1388: error: cannot find symbol
  326. @NonNull SafePromise promise) {
  327. ^
  328. symbol: class NonNull
  329. location: class BleModule
  330. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1386: error: cannot find symbol
  331. @Nullable
  332. ^
  333. symbol: class Nullable
  334. location: class BleModule
  335. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1398: error: cannot find symbol
  336. private List<Service> getServicesOrReject(@NonNull final Device device,
  337. ^
  338. symbol: class NonNull
  339. location: class BleModule
  340. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1399: error: cannot find symbol
  341. @NonNull Promise promise) {
  342. ^
  343. symbol: class NonNull
  344. location: class BleModule
  345. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1397: error: cannot find symbol
  346. @Nullable
  347. ^
  348. symbol: class Nullable
  349. location: class BleModule
  350. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1409: error: cannot find symbol
  351. private Device getDeviceOrReject(@NonNull final String deviceId,
  352. ^
  353. symbol: class NonNull
  354. location: class BleModule
  355. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1410: error: cannot find symbol
  356. @NonNull Promise promise) {
  357. ^
  358. symbol: class NonNull
  359. location: class BleModule
  360. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1408: error: cannot find symbol
  361. @Nullable
  362. ^
  363. symbol: class Nullable
  364. location: class BleModule
  365. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1421: error: cannot find symbol
  366. private void sendEvent(@NonNull Event event, @Nullable Object params) {
  367. ^
  368. symbol: class NonNull
  369. location: class BleModule
  370. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1421: error: cannot find symbol
  371. private void sendEvent(@NonNull Event event, @Nullable Object params) {
  372. ^
  373. symbol: class Nullable
  374. location: class BleModule
  375. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:1427: error: cannot find symbol
  376. private void cleanServicesAndCharacteristicsForDevice(@NonNull Device device) {
  377. ^
  378. symbol: class NonNull
  379. location: class BleModule
  380. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/converter/RxBleScanResultConverter.java:36: error: cannot find symbol
  381. public WritableMap toJSObject(@NonNull ScanResult value) {
  382. ^
  383. symbol: class NonNull
  384. location: class RxBleScanResultConverter
  385. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:33: error: cannot find symbol
  386. @Nullable
  387. ^
  388. symbol: class Nullable
  389. location: class Device
  390. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:35: error: cannot find symbol
  391. @Nullable
  392. ^
  393. symbol: class Nullable
  394. location: class Device
  395. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:38: error: cannot find symbol
  396. public Device(@NonNull RxBleDevice device, @Nullable RxBleConnection connection) {
  397. ^
  398. symbol: class NonNull
  399. location: class Device
  400. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:38: error: cannot find symbol
  401. public Device(@NonNull RxBleDevice device, @Nullable RxBleConnection connection) {
  402. ^
  403. symbol: class Nullable
  404. location: class Device
  405. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:43: error: cannot find symbol
  406. public void setServices(@NonNull List<Service> services) {
  407. ^
  408. symbol: class NonNull
  409. location: class Device
  410. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:47: error: cannot find symbol
  411. @Nullable
  412. ^
  413. symbol: class Nullable
  414. location: class Device
  415. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:56: error: cannot find symbol
  416. @Nullable
  417. ^
  418. symbol: class Nullable
  419. location: class Device
  420. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:62: error: cannot find symbol
  421. public Service getServiceByUUID(@NonNull UUID uuid) {
  422. ^
  423. symbol: class NonNull
  424. location: class Device
  425. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:61: error: cannot find symbol
  426. @Nullable
  427. ^
  428. symbol: class Nullable
  429. location: class Device
  430. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Device.java:74: error: cannot find symbol
  431. public WritableMap toJSObject(@Nullable Integer rssi) {
  432. ^
  433. symbol: class Nullable
  434. location: class Device
  435. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:31: error: cannot find symbol
  436. public Service(@NonNull Device device, @NonNull BluetoothGattService service) {
  437. ^
  438. symbol: class NonNull
  439. location: class Service
  440. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:31: error: cannot find symbol
  441. public Service(@NonNull Device device, @NonNull BluetoothGattService service) {
  442. ^
  443. symbol: class NonNull
  444. location: class Service
  445. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:50: error: cannot find symbol
  446. public Characteristic getCharacteristicByUUID(@NonNull UUID uuid) {
  447. ^
  448. symbol: class NonNull
  449. location: class Service
  450. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Service.java:49: error: cannot find symbol
  451. @Nullable
  452. ^
  453. symbol: class Nullable
  454. location: class Service
  455. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Characteristic.java:40: error: cannot find symbol
  456. public Characteristic(@NonNull Service service, @NonNull BluetoothGattCharacteristic characteristic) {
  457. ^
  458. symbol: class NonNull
  459. location: class Characteristic
  460. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/wrapper/Characteristic.java:40: error: cannot find symbol
  461. public Characteristic(@NonNull Service service, @NonNull BluetoothGattCharacteristic characteristic) {
  462. ^
  463. symbol: class NonNull
  464. location: class Characteristic
  465. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleError.java:84: error: cannot find symbol
  466. public void reject(@NonNull Promise promise) {
  467. ^
  468. symbol: class NonNull
  469. location: class BleError
  470. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleError.java:88: error: cannot find symbol
  471. public void reject(@NonNull SafePromise promise) {
  472. ^
  473. symbol: class NonNull
  474. location: class BleError
  475. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleErrorUtils.java:13: error: cannot find symbol
  476. static public BleError invalidIdentifiers(@NonNull String... identifiers) {
  477. ^
  478. symbol: class NonNull
  479. location: class BleErrorUtils
  480. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/errors/BleErrorUtils.java:24: error: cannot find symbol
  481. static public BleError invalidIdentifiers(@NonNull ReadableArray readableArray) {
  482. ^
  483. symbol: class NonNull
  484. location: class BleErrorUtils
  485. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/utils/RefreshGattCustomOperation.java:17: error: cannot find symbol
  486. @NonNull
  487. ^
  488. symbol: class NonNull
  489. location: class RefreshGattCustomOperation
  490. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:708: error: cannot find symbol
  491. @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
  492. ^
  493. symbol: class RequiresApi
  494. /project/node_modules/react-native-ble-plx/android/src/main/java/com/polidea/reactnativeble/BleModule.java:720: error: cannot find symbol
  495. @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
  496. ^
  497. symbol: class RequiresApi
  498. 70 errors
  499.  
  500. FAILURE: Build failed with an exception.
  501.  
  502. * What went wrong:
  503. Execution failed for task ':react-native-ble-plx:compileDebugJavaWithJavac'.
  504. > Compilation failed; see the compiler error output for details.
  505.  
  506. * Try:
  507. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  508.  
  509. * Get more help at https://help.gradle.org
  510.  
  511. BUILD FAILED in 1m 22s
  512. 50 actionable tasks: 1 executed, 49 up-to-date
  513. error Could not install the app on the device, read the error above for details.
  514. Make sure you have an Android emulator running or a device connected and have
  515. set up your Android development environment:
  516. https://facebook.github.io/react-native/docs/getting-started.html
  517. error Command failed: ./gradlew app:installDevDebug. Run CLI with --verbose flag for more details.
  518. (base) [valent1ne@mad-hatter utils]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement