CarlosHe / AndroidPermission

Runtime Android Permission for Firemonkey
21 stars 6 forks source link

Error Androidapi.Jni not found. #3

Open GiovaniRoche opened 6 years ago

GiovaniRoche commented 6 years ago

Hi. After I replace files, I opened project, compiled and found this error:

[DCC Fatal Error] DemoAndroidPermission.dpr(6): F2613 Unit 'Androidapi.Jni' not found.

What Can it is be?

welsoncj commented 6 years ago

olá, olhe em Tools - Options - Delphi Options - Library - Library path.

observe se o caminho 'C:\Program Files (x86)\Embarcadero\Studio\19.0\source\fmx' esta adicionado

ou

C:\Program Files (x86)\Embarcadero\Studio\19.0\lib\android\release

JohnvdWaeter commented 6 years ago

Hi, same here. I've added the paths to the library path, but no success. Any tips where to look? (Delphi 10.2.3) Cheers, John

JohnvdWaeter commented 6 years ago

I think I have a clue. Some files need to be recompiled, and by default the mentioned paths point to Read-Only directories. Hence the compiled Androidapi.Jni could not be found. An option is to make these directories Read/Write and Build the project.