June 13, 2018 at 7:55 am #12604
I’ve been struggling with things. I have a meeting with some possible instructors for my site tomorrow (3 pm Vancouver, Canada time: PST Pacific Standard Time, Wednesday). I hope you can help with at least #1 below and I’ll use the DevApp on my phone to show a demo. My two questions follow:
Question #1. How do I change the image at the top of the menu, such that it shows my new image on the app? I replaced the main_logo.png at D:\-\DevMobi\wplms\myproject\www\assets\images\ with my own version in the same pixel size, but it’s not showing in the App. Urgent to get your response and instructions for this question please. Thank you.
Question #2. I am having build problems. Any references or advice would be appreciated. Thank you.
I ran the following in my Windows 10 machine:
“ionic cordova build android -debug“
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ‘:app:processDebugResources’.
> Failed to execute aapt
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 31s
at ChildProcess.whenDone (D:\-\DevMobi\wplms\qimoves\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:11200) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11200) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
cli packages: (C:\Users\p_000\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
cordova (Cordova CLI) : 8.0.0
@ionic/app-scripts : 3.1.9
Cordova Platforms : android 7.0.0
Ionic Framework : ionic-angular 3.9.2
Node : v8.11.2
npm : 5.6.0
OS : Windows 10
ANDROID_HOME : not set
backend : pro
- You must be logged in to reply to this topic.