Icon does not appear on the apk or Cordova class not found
I can't get the build.phonegap.com site to build my Android apk and use the icons specified in my file config.xml. I tried several paths for the default icon and none of them does not seem to work. On several occasions, I have confirmed that each path is valid in all elements defined < icon >. I tried to use ConfiGAP to generate my config.xml but it produces a malformed .xml file, so I no longer use it.
I followed Cordova documentation regarding to the customization of the icons found here: Customize app icons - Cordova Apache , but the site doesn't seem to work when you use these conventions. (?)
The weird part is that, when I build the app using the CLI interface on my local machine, the icon appears correctly. "The problem there is that the application does not run properly and get an error" [ERROR] Cordova initialization error: class not found. So it seems that my config.xml file is correct somehow locally but does not when used by the site build.phonegap.com.
Nevertheless, something is not quite right, and what I've read, the issue of the icon and the specific error that I get when the icon is OK are somehow related to something to go wrong in the config.xml file
What I am doing wrong? Advice/thoughts/ridiculous/instructions on how I missed something obvious/etc would be appreciated.
Here is my file config.xml (less identifying information):
<? XML version = "1.0" encoding = "utf - 8"? >
< widget id = "com.xxx.xxx" version = "2.0.5" versionCode = "20005" xmlns =" " http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 ">
< name > XXX < / name >
< description >
XXXX
< / description >
" < author email = ' [email protected] "href =" http://www.xxx.com ">
XXX
< / author >
" < = function name" http://API.PhoneGap.com/1.0/device "/ > "
< = "permissions" option name value = "none" / >
< name of option = "orientation" value = "default" / >
< name of option = "target device" value = "universal" / >
< name of option = "full screen" value = "false" / >
< name of option = "webviewbounce" value = "true" / >
< name of option = "rentals-icon" value = "true" / >
< = "stay webview" option name value = "false" / >
< name of option = value 'ios-statusbarstyle"="Black opaque"/ >
< name of option = "detect types of data" value = "true" / >
< name of option = "DisallowOverscroll" value = "true" / >
< = 'exit suspend' option name value = "false" / >
< option value = "show-splash-screen-spinner" name = "true" / >
< option value = "auto-hide-splash-screen" name = "true" / >
< name of option = "disable-cursor" value = "false" / >
< name of option = "android-minSdkVersion" value = "14" / >
< = "android-installLocation' value = 'auto' option name / >
< name of option = "AndroidPersistentFileLocation" value = "Compatibility" / >
< option name = "AndroidExtraFilesystems" value = "files, documents of external files, SD card, cache, cache-external" / >
< = "phonegap-version" value = '3.7.0' option name / >
< gap: plugin name = "ch.ti8m.documenthandler" version = "0.2.1" / > "
< gap: plugin name = "org.apache.cordova.console" version = "0.2.7" / > "
< gap: plugin name = "io.github.pwlin.cordova.plugins.fileopener" version = "1.0.1" / > "
< gap: plugin name = "org.apache.cordova.device" / > "
< gap: plugin name = "org.apache.cordova.file" / > "
< gap: plugin name = "org.apache.cordova.inappbrowser" version = "0.4.0" / > "
< src = "icon.png icon" gap: role = "default" / > "
< platform name = "android" >
"< density icon ="ldpi"src="res/icon/android/36.png "/ >
"< density icon ="mdpi"src="res/icon/android/48.png "/ >
"< density icon ="hdpi"src="res/icon/android/72.png "/ >
"< density icon ="xhdpi"src="res/icon/android/96.png "/ >
< / platform >
< platform name = "ios" >
"< icon gap: platform ="ios"height ="57"src="res/icon/ios/57x57.png "width ="57"/ >
"< icon gap: platform ="ios"height ="72"src="res/icon/ios/72x72.png "width ="72"/ >
"< icon gap: Platform = 'ios' height ="76"src="res/icon/ios/76x76.png "width ="76"/ >
"< icon gap: platform ="ios"height ="114"src="res/icon/ios/114x114.png "width ="114"/ >
"< icon gap: platform ="ios"height ="120"src="res/icon/ios/120x120.png "width ="120"/ >
"< icon gap: platform ="ios"height ="144"src="res/icon/ios/114x144.png "width ="144"/ >
"< icon gap: platform ="ios"height ="152"src="res/icon/ios/152x152.png "width ="152"/ >
"< gap: gap platform: splash ="ios"height ="480"src="res/screen/ios/iphone.png "width ="320"/ >
< gap: gap platform: splash = "ios" height = "960" src = "res/screen/ios/[email protected]" width = "640" / >
"< gap: gap platform: splash ="ios"height ="1024"src="res/screen/ios/ipad-portrait.png "width ="768"/ >
"< gap: gap platform: splash ="ios"height ="768"src="res/screen/ios/ipad-landscape.png "width ="1024"/ >
"< gap: gap platform: splash = 'ios' height ="1136"src="res/screen/ios/iphone-568.png "width ="640"/ >
< / platform >
" < access origin = ' http://127.0.0.1 * " />
" < access origin = ' https://mail1.xxx.com:xxx * " />
" < access origin = ' https://im.xxx.com:xxx * " />
" < access origin = ' https://im.xxx.com:xxx * " />
< access origin = "" * "/ >"
< / widget >
https://Forum.ionicframework.com/t/erroe-error-initializing-Cordova-class-not-found-only-o n-android/3555
Post edited by: display of the error message pasted double Matthew McLarty kidnapped by the bottom of the post.
Here are a few comments:
1. you create to the BMP version 3.7.0. This application will not be approved by Google.
Use the cli version - 6.3.0
2. remove the element feature of your config. It is obsolete.
3. do not use the old, obsolete bmp plugins. Instead, use the latest versions of the plugins of the NPM. Be aware that they are named differently, usually cordova-plugin-xxxxx
Find them here: Plugin Search - Apache Cordova
4. you have not any spill for Android. Don't forget to include mdpi - dimensions xxxhdpi
5. you need the dimensions large projections of iOS. See the docs for Apple iOS on "images of launch.
6. you have specified for landscape and portrait. Yet, you have only a landscape splashscreen iOS. Add all the others.
And for your zip file: can you confirm that you have config.xml and index.html in the root directory of the zip?
Tags: PhoneGap
Similar Questions
-
The apple tv icon does not appear in the menu bar
The apple tv icon does not appear in the menu bar. I can't put my screen on my TV mirror.
Required to use AirPlay
If you go to the Apple menu > System Preferences, click on monitors and do not see the option to "See the mirroring of the options in the menu bar when it is available," your Mac does not meet these requirements.
Minimum requirements if your Mac and Apple TV are on the same network:
- Apple TV (2nd generation or later) with the latest version of the Apple TV software
- For mirroring of your screen to display your desktop, one of the following computers Mac with OS X Lion mountains v10.8 or later version:
Minimum requirements for peer-to-peer AirPlay, which allows visitors to quickly and easily connect their Mac or an iOS device to your Apple TV without getting the passwords and connection to the network Wi - Fi:
- Apple TV (3rd generation Rev A, model A1469 or later version) with the latest version of the Apple TV software
- Mac with OS X Yosemite v10.10 or later version (2012 or later)
-
Speed dial installs, but the icon does not appear
I used speed dial for a long time, both on my desktop and my laptop, and I really like it. Recently, I got a new office and installed the latest version of Firefox. Everything seems to be working well, but when I try to add Speed Dial, it appears to install correctly, but the icon does not appear in the menu bar. I tried several times and each time I like Speed Dial will be installed after I restarted Firefox. However, by clicking on the button will restart FF, but the icon never appears! What goes wrong, and how can I get Speed Dial to work for me, as it has always done?
Dial manual > getting started - http://speeddial.uworks.net/gettingstarted.html (see paragraph beginning "when this extension is installed... »)
- This is the same as the other buttons on the toolbar add - see: https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars#w_how-do-i-customize-or-rearrange-toolbar-items
Complete manual of dial - http://speeddial.uworks.net/manual.html
-
Bookmark icon does not appear on the top right corner next to the icon of the homepage
Bookmark icon does not appear on the top right corner next to the icon of the homepage
You see only the bookmarks Menu button if the Menu with the bookmarks menu bar is hidden (view > toolbars or Firefox > Options).
If the bookmarks toolbar is visible, then the bookmarks Menu button appears in the bookmarks toolbar, among other items in the toolbar of bookmarks (bookmarks), but you can move it to the right side to the left side of the bookmarks toolbar if the window customize is open.
If the bookmarks Menu button appears on the right side of the Navigation bar.Versions of Firefox 4 + have two buttons bookmark with a star in the window customize.
A single star button has a marker to drop that open Bookmark menu.
The other star button without the marker drop open bookmarks in the sidebar.You can drag the button customize menu bookmarks with the marker in the window in the palette of the toolbar on a toolbar (for example, the Navigation bar) or the tab bar or on the left side of the bookmarks Menu items.
-
Recently I have not been able to forward my iPhone 5S for message store. I've never had this problem before.
When I looked to what to do, I realize that The Call Forwarding icon does NOT appear in the status bar when I try to transfer calls. How can I fix this please?
It does not work using * 21 * + 6 * 41412 * 2 #.
< personal information under the direction of the host >
Call forwarding is a function of carrier. Contact your operator.
-
Big mistake! I installed microsoft excel viewer
Firefox icon does not appear for saved web pages. Or didn't save IE web pages. I just get the icon "I don't know what to do with this."This has happened
Each time Firefox opened
== I installed microsoft excel viewer
I re-installed excel viewer and the problem is not to be reproduced.
Hope that this does not come to the time where I re - start. -
My image that icon does not appear in the e-mail
My image that icon does not appear in the messaging section. When I click on the place where the photo should be, it is said: the contact does not exist. I use a Moto X 2nd Gen on Republic cordless phone.
You have a contact for yourself - probably mapped to your connection to google?
-
Original title: sharing printer problems!
I am trying to share a printer, so I can access it from another computer on my network, it sems to cross, but the shared icon does not appear? Why is this?
I'm on windows xp professional
Hi Pazza1995,Follow the steps listed in the articles below and check if it helps to fix the problem: -
Volume icon does not appear in the notification area
Miss me my "volume icon" in the tool bar?
Hi all
don't know what happened, I did NOT remove myself. All I know is that I add a new update for Java and now I noticed that my volume icon does not appear in the lower right corner where it has always been. Y at - it a fix for this please?
I have no restore point (although Im positive I did awhile back)
I can't find the "System 32" which is supposed to be in the 'control panel'. IM exhausted and at the end of my resources.
Thank you
Daniela
I just to have exactly the same problem as Tecian. Here's what I did to fix the problem.
Open up (Ctrl + Shift + Esc) Task Manager, go to the "Processes" tab, select "explorer.exe" and click on "end process."
Select the users tab in the youself select Task Manager, and then click the log at the bottom. Connection again and everything should be back.
Please post if this worked so he could help others.YTS.
-
Volume icon does not appear in the notification area of the taskbar
I recently added a logitech webcam. Since then, the volume icon does not appear in my taskbar. the only way to adjust the volume on the internal speakers is via the control panel. How to restore the "speaker" icon?
Thank you.
I recently added a logitech webcam. Since then, the volume icon does not appear in my taskbar. the only way to adjust the volume on the internal speakers is via the control panel. How to restore the "speaker" icon?
Thank you.
I don't think he has none to do with the webcam. Just a coincidence.
Use this tutorial:
http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.htmlThe tutorial has 3 methods.
Method is a general method which, unfortunately, rarely works because the box, you need to check is grayed out (unclickable).
Two method is only for Vista Ultimate and Enterprise.
Three method applies to all versions of Vista.
Use the Reg file download. It is simple and easy.* Make sure that you restart the computer to perform the procedures.
For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.
-
Window of the printer icon does not appear on the taskbar
original title: printer icon window
Window of the printer icon does not appear in my taskbar to key on can I print text. Also the Tools icon doesn't show ethier. How can I make it appear so that I can use them for print or to send or forward emails?
If you are referring to the print queue icon in the notification area is missing, click the Show hidden icons button to see if its there. It will be displayed only when a print job is in progress.
To display print queue - Windows - Microsoft
You can also run the troubleshooting of the printer.
Open the printer Troubleshooter
Open the printer Troubleshooter by clicking the Start button, then Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Under hardware and sound, click on use printer.
For more information, visit the below mentioned link:
http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter
Printer problems: http://blogs.technet.com/b/markrussinovich/archive/2010/04/12/3324570.aspx
Run the printer problems to: http://support.microsoft.com/gp/printing_problems?entrypoint=WHHT
You can see the below mentioned links.
http://Windows.Microsoft.com/en-us/Windows7/install-a-printer
http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers
http://Windows.Microsoft.com/en-us/Windows7/change-your-default-printer
http://Windows.Microsoft.com/en-us/Windows7/printing-to-the-correct-printer
--------------
May I ask what tools icon is missing for what program?
-
The application icon does not appear in iTunes
Hello
is it normal that the icon does not appear in iTunes when you upgrade the application Developer in there to test?
It only shows the app grey symbol.
Is that going to show when the application is modified by the app on distribution?
Thank you
Jill
In the meantime, I found the solution to my problem: when you download the assets, you have one which is optional (1024 x 1024 px).
It seems that one uses iTunes and I got one.
(Maybe they shouldn't make it optional, since you really need)
-
I can't use the patch command. The icon does not appear on th comand bar.
I can't use the patch command. The icon does not appear on the comand th bar
Hello!
Compared to other versions, in CS6 the patch tool is in a different place:
If this does not help, what version of Photoshop are you using?
Please post back with other questions.
Janelle
-
FN key display icon does not appear on the Satellite A200 (PSAE6E)
Hello
I have the Satellite A200, I reinstall Windows but now if I press Fn icons doesn't appear on the desktop, FN keys work correctly.
I just want to see the icon that well I try to install each Toshiba utility, none worked.
Hello!
You use Windows XP or Vista?
For Vista, you must install the package of value added.
For XP, you must install the Hotkey utility.The two you can find on the Toshiba site: http://eu.computers.toshiba-europe.com-online downloads Support & -Online Download drivers
If you have any other questions, please let us know.
Good bye
-
Nightly icon does not appear in Debian GNOME SHELL
Hi, I'm Tiago.
The Nightly icon does not appear on GNOME 3. I used Ubuntu and it works very well. But now, I use Debian with GNOME 3 and after extract the .tar and create the 'Nightly.desktop (necessary to pin the menu icon)", the icon does not appear (look at the screenshot below).
But also, I only am not settled every night my default browser.
then so are the bugs? I have to report? What can I do?
Grateful for the support and sorry for my bad EnglishThis also happens with the developer edition of Firefox (channel Aurora)?
Maybe you are looking for
-
How can I block internet access program?
I have a program I don't want to have access to the internet. How to let firefox block?
-
Satellite P200-18Z: How can I do wake on LAN?
How can I make WoL work on this computer.I enabled it in bios, but I can't even wake my phone to another device.I am running windows 7 ultimate, if this material. Thank you
-
HP G60 - 123CL laptop PC: cd software and drivers for Windows 7
I just bought the cd online for windows7 operating sytem for software and drivers. I was really hoping to get a print driver included so I can reinstall my hp all in one printer c7250. I tried the hp Wizard, but did not have the full software provi
-
Swedish language and keyboard / liquid 110 Duo
I'm a Swede living in France and bought a Z110Dou liquid today to solve my current problem with two mobile... BUT trying to change the language, a find from many languages but not Swedish. Is it possible to download the keyboard and the Swedish langu
-
Break a timeperiod to one day with a new period
with EMPLOYEE_PUNCHES AS(SELECT TO_DATE (07 JANUARY 1 2014:30 ',' DD/MM/YYYY HH24 ') PUNCHIN, TO_DATE (08 JANUARY 1 2014:30 ',' DD/MM/YYYY HH24 ') PUNCHOUT OF DOUBLE UNION ALLSELECT TO_DATE (07 JANUARY 1 2014:30 ',' DD/MM/YYYY HH24 ') PUNCHIN, TO_DAT