Commit ee43633
committed
Revert "Use Android shared library loader for JNI libraries (#10376)"
This reverts commit 064f23f.
We are seeing `dotnet new maui` projects fail to debug, as they appear
to be stuck in a loop on startup:
08-22 11:39:14.148 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/user/0/com.companyname.mauiapp14/files/.__override__/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so' to load.
08-22 11:39:17.155 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/app/~~Q5yyfDmzDqX9Z8UwQnLoFA==/com.companyname.mauiapp14-ZPk2_y6fT3b_3leM8xhcAw==/lib/arm64/libSystem.Security.Cryptography.Native.Android.so' to load.
08-22 11:39:20.164 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/user/0/com.companyname.mauiapp14/files/.__override__/arm64-v8a/libSystem.Security.Cryptography.Native.Android' to load.
08-22 11:39:23.172 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/app/~~Q5yyfDmzDqX9Z8UwQnLoFA==/com.companyname.mauiapp14-ZPk2_y6fT3b_3leM8xhcAw==/lib/arm64/libSystem.Security.Cryptography.Native.Android' to load.
08-22 11:39:23.172 W/monodroid-assembly(10269): Shared library 'libSystem.Security.Cryptography.Native.Android' not loaded, p/invoke 'AndroidCryptoNative_SSLStreamInitialize' may fail
08-22 11:39:23.172 F/monodroid-assembly(10269): Failed to load symbol 'AndroidCryptoNative_SSLStreamInitialize' from shared library 'libSystem.Security.Cryptography.Native.Android'
08-22 11:39:26.187 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/user/0/com.companyname.mauiapp14/files/.__override__/arm64-v8a/libSystem.Security.Cryptography.Native.Android.so' to load.
08-22 11:39:29.190 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/app/~~Q5yyfDmzDqX9Z8UwQnLoFA==/com.companyname.mauiapp14-ZPk2_y6fT3b_3leM8xhcAw==/lib/arm64/libSystem.Security.Cryptography.Native.Android.so' to load.
08-22 11:39:32.198 W/monodroid-assembly(10269): Timeout while waiting for shared library '/data/user/0/com.companyname.mauiapp14/files/.__override__/arm64-v8a/libSystem.Security.Cryptography.Native.Android' to load.
repeating...1 parent f234612 commit ee43633
File tree
30 files changed
+263
-844
lines changed- src
- Xamarin.Android.Build.Tasks/Utilities
- java-runtime/java/mono/android
- native
- clr
- host
- include
- runtime-base
- runtime-base
- xamarin-app-stub
- common/include/runtime-base
- mono
- monodroid
- runtime-base
- xamarin-app-stub
- xamarin-debug-app-helper
- tests/Mono.Android-Tests/Mono.Android-Tests
30 files changed
+263
-844
lines changedLines changed: 12 additions & 73 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 159 | | |
168 | 160 | | |
169 | 161 | | |
170 | 162 | | |
171 | 163 | | |
172 | 164 | | |
| 165 | + | |
| 166 | + | |
173 | 167 | | |
174 | 168 | | |
175 | 169 | | |
| |||
235 | 229 | | |
236 | 230 | | |
237 | 231 | | |
238 | | - | |
| 232 | + | |
239 | 233 | | |
240 | 234 | | |
241 | 235 | | |
| |||
255 | 249 | | |
256 | 250 | | |
257 | 251 | | |
258 | | - | |
259 | | - | |
| 252 | + | |
| 253 | + | |
260 | 254 | | |
261 | 255 | | |
262 | 256 | | |
| |||
268 | 262 | | |
269 | 263 | | |
270 | 264 | | |
271 | | - | |
| 265 | + | |
272 | 266 | | |
273 | 267 | | |
274 | 268 | | |
275 | 269 | | |
276 | 270 | | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
| 271 | + | |
288 | 272 | | |
289 | 273 | | |
290 | 274 | | |
| |||
346 | 330 | | |
347 | 331 | | |
348 | 332 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 333 | | |
380 | 334 | | |
381 | 335 | | |
| |||
404 | 358 | | |
405 | 359 | | |
406 | 360 | | |
407 | | - | |
| 361 | + | |
408 | 362 | | |
409 | | - | |
| 363 | + | |
410 | 364 | | |
411 | 365 | | |
412 | 366 | | |
| |||
420 | 374 | | |
421 | 375 | | |
422 | 376 | | |
423 | | - | |
| 377 | + | |
424 | 378 | | |
425 | 379 | | |
426 | 380 | | |
427 | | - | |
428 | 381 | | |
429 | 382 | | |
430 | 383 | | |
431 | 384 | | |
432 | 385 | | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | 386 | | |
438 | 387 | | |
439 | | - | |
440 | 388 | | |
441 | 389 | | |
442 | 390 | | |
443 | 391 | | |
444 | 392 | | |
445 | | - | |
446 | | - | |
| 393 | + | |
447 | 394 | | |
448 | 395 | | |
449 | 396 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | 397 | | |
455 | 398 | | |
456 | 399 | | |
| |||
460 | 403 | | |
461 | 404 | | |
462 | 405 | | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 406 | + | |
468 | 407 | | |
469 | 408 | | |
470 | 409 | | |
| |||
Lines changed: 16 additions & 82 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
239 | 238 | | |
240 | 239 | | |
241 | 240 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 241 | | |
251 | 242 | | |
252 | 243 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 244 | | |
259 | 245 | | |
260 | 246 | | |
261 | 247 | | |
262 | | - | |
| 248 | + | |
| 249 | + | |
263 | 250 | | |
264 | 251 | | |
265 | 252 | | |
| |||
274 | 261 | | |
275 | 262 | | |
276 | 263 | | |
277 | | - | |
| 264 | + | |
278 | 265 | | |
279 | 266 | | |
280 | | - | |
| 267 | + | |
281 | 268 | | |
282 | 269 | | |
283 | 270 | | |
| |||
362 | 349 | | |
363 | 350 | | |
364 | 351 | | |
365 | | - | |
| 352 | + | |
366 | 353 | | |
367 | 354 | | |
368 | 355 | | |
| |||
376 | 363 | | |
377 | 364 | | |
378 | 365 | | |
379 | | - | |
380 | | - | |
| 366 | + | |
| 367 | + | |
381 | 368 | | |
382 | 369 | | |
383 | 370 | | |
| |||
388 | 375 | | |
389 | 376 | | |
390 | 377 | | |
391 | | - | |
| 378 | + | |
392 | 379 | | |
393 | 380 | | |
394 | 381 | | |
395 | 382 | | |
396 | 383 | | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
| 384 | + | |
408 | 385 | | |
409 | 386 | | |
410 | 387 | | |
411 | 388 | | |
412 | | - | |
| 389 | + | |
413 | 390 | | |
414 | 391 | | |
415 | 392 | | |
| |||
566 | 543 | | |
567 | 544 | | |
568 | 545 | | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | 546 | | |
600 | 547 | | |
601 | 548 | | |
| |||
624 | 571 | | |
625 | 572 | | |
626 | 573 | | |
627 | | - | |
| 574 | + | |
| 575 | + | |
628 | 576 | | |
629 | | - | |
| 577 | + | |
630 | 578 | | |
631 | 579 | | |
632 | 580 | | |
| |||
640 | 588 | | |
641 | 589 | | |
642 | 590 | | |
643 | | - | |
| 591 | + | |
644 | 592 | | |
645 | 593 | | |
646 | 594 | | |
647 | | - | |
648 | 595 | | |
649 | 596 | | |
650 | 597 | | |
| |||
653 | 600 | | |
654 | 601 | | |
655 | 602 | | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | 603 | | |
660 | 604 | | |
661 | 605 | | |
| |||
665 | 609 | | |
666 | 610 | | |
667 | 611 | | |
668 | | - | |
669 | | - | |
| 612 | + | |
670 | 613 | | |
671 | 614 | | |
672 | 615 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | 616 | | |
678 | 617 | | |
679 | 618 | | |
| |||
683 | 622 | | |
684 | 623 | | |
685 | 624 | | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
| 625 | + | |
692 | 626 | | |
693 | 627 | | |
694 | 628 | | |
| |||
0 commit comments