- Posts: 39
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
Cordova, Xamarin, Basic4Android topics are listed here.
Features' requests: Xamarin.forms and Cordova
- Marat Faskhiev
- Offline
- Junior Member
-
Less
More
9 years 1 month ago #11790
by Marat Faskhiev
I'd like to note that android version doesn't work well right after plugin install. I received the following errors during compilation:
1. Error:(64, 56) error: package R does not exist at PDFPagerAct.java
2 Error:(11, 25) error: cannot find symbol class R at RadaeePDFManager.java
Replied by Marat Faskhiev on topic Features' requests: Xamarin.forms and Cordova
nermeen wrote: Here you can find an updated version of Cordova plugin.
I'd like to note that android version doesn't work well right after plugin install. I received the following errors during compilation:
1. Error:(64, 56) error: package R does not exist at PDFPagerAct.java
2 Error:(11, 25) error: cannot find symbol class R at RadaeePDFManager.java
9 years 1 month ago #11791
by nermeen
Replied by nermeen on topic Features' requests: Xamarin.forms and Cordova
It seems like you did not execute the command
This command is responsible for executing configure-android.js that should fix this import error
Code:
cordova build android
- Marat Faskhiev
- Offline
- Junior Member
-
Less
More
- Posts: 39
- Thank you received: 0
9 years 1 month ago #11793
by Marat Faskhiev
I checked build log. It was invoked. I see the following messages in logs:
1> Resolving module name for fs => fs
1> Resolving module name for path => path
1> Resolving module name for q => q
1> *****************************************
1> * inject file R ANDROID *
1> *****************************************
1> * Inject: io.cordova.myappff69c5.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\pdf\Global.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java the import statemet: com.radaee.viewlib.R *
MSBUILD : cordova-build error : * missing file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java
1> * missing file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFLayoutView.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFNavAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFViewAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFViewController.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFPagerAct.java the import statemet: com.radaee.viewlib.R+ *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\OutlineListAdt.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\PDFGridItem.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\PopupEditAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\CommonUtil.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\RadaeePDFManager.java the import statemet: com.radaee.viewlib.R *
Replied by Marat Faskhiev on topic Features' requests: Xamarin.forms and Cordova
nermeen wrote: It seems like you did not execute the command
This command is responsible for executing configure-android.js that should fix this import errorCode:cordova build android
I checked build log. It was invoked. I see the following messages in logs:
1> Resolving module name for fs => fs
1> Resolving module name for path => path
1> Resolving module name for q => q
1> *****************************************
1> * inject file R ANDROID *
1> *****************************************
1> * Inject: io.cordova.myappff69c5.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\pdf\Global.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java the import statemet: com.radaee.viewlib.R *
MSBUILD : cordova-build error : * missing file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java
1> * missing file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFCurlViewAct.java
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFLayoutView.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFNavAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFViewAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFViewController.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\reader\PDFPagerAct.java the import statemet: com.radaee.viewlib.R+ *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\OutlineListAdt.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\PDFGridItem.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\PopupEditAct.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\CommonUtil.java the import statemet: com.radaee.viewlib.R *
1> * Inject in file: C:\Work\SampleCordovaApp\platforms\android\src\com\radaee\util\RadaeePDFManager.java the import statemet: com.radaee.viewlib.R *
- Marat Faskhiev
- Offline
- Junior Member
-
Less
More
- Posts: 39
- Thank you received: 0
9 years 1 month ago - 9 years 1 month ago #11794
by Marat Faskhiev
Replied by Marat Faskhiev on topic Features' requests: Xamarin.forms and Cordova
This issue occurs because PDFPagerAct.java and RadaeePDFManager.java doesn't contains import statement which must be replaced by configure-android.js hook:
import com.radaee.viewlib.R;
And RadaeePDFManager.java contains com.radaee.reader.R instead of com.radaee.viewlib.R.
import com.radaee.viewlib.R;
And RadaeePDFManager.java contains com.radaee.reader.R instead of com.radaee.viewlib.R.
Last edit: 9 years 1 month ago by Marat Faskhiev.
Time to create page: 0.366 seconds