Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228554 articles
Browse latest View live

Jarsigner Error

$
0
0

Hi @himanshu_signcatch @jonchin,

I have the same problem,
when i type java -version in terminal this was my output

openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

and for javac -version

javac 1.8.0_131

but still i am getting error --> jarsigner error: java.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0

Any help Please.
Thanks


Ionic Storage is not restoring data after setting URL for pages in App module

$
0
0

There was some issues in the URL binding which was executing twice, So next time code execution was reseting the Storage variable
My Bad :slight_frown:
Made the changes

`ionic serve` changes my colors

$
0
0

hi,
tnx for the answer.

no, just using ionic serve.
both with same device chesen - no changes.

Just released: Tooltips Module for Ionic Apps

$
0
0

Default is press but you can use click too. I will add hover support as well, for desktop apps.

iOS splashscreen spinner not centered

$
0
0

Hi,

The black rectangle is my company logo, I'm not allowed to show it so I removed it after taking the screenshot.

I generated the splash screen with ionic CLI (ionic resources), with the right images sizes (192×192 for icon, 2208×2208 for splash screen).

Access objects from tabs page

$
0
0

@FnnHuman, yes i understood, as you see my provider have one variable
public aircraftdetails="";//variable define to access in page
and modifying it from tab page 1 in getAircraftDetails method
and finally i am accessing it in main tab data page in registerAircraft() method .
as i know registerAircraft metod should return the modified value of aircraftdetails , but its giving null string , means the modified value not stored on aircraftdetails variable.

Error - Couldn't find Materialize object on window

$
0
0

i have tried like everything...

Error: Couldn't find Materialize object on window. It is created by the materialize-css library. Please import materialize-css before importing angular2-materialize.

app module:

import { MaterializeModule } from "angular2-materialize";
...
@NgModule...
imports: [
...
MaterializeModule
...


index.html: (of course i make sure it is putting them in the build folder)
  <link rel="stylesheet" href="build/materialize.js">
  <link rel="stylesheet" href="build/materialize.css">
  <link rel="stylesheet" href="build/hammer.js">

followed those guides:


have seen these topic:

any solution?

Urgente¡¡¡ Error en ionic 2 : 'Cannot find module '../pages/users/users'.'

$
0
0

Ese error es en tu html, relacionado a algun boton y el atributo de (click), el error es de sintaxis, si pudieras subir una captura de tu html podria ayudarte un poco mas


TypeScript error: Ionic 1.2.1

$
0
0

What is same as above? You never posted your package.json before.

No, of course not. But as you were using beta software, things in there were still pretty broken and things changed until the final release. That's why not everything will be as easy as e.g. an upgrade from 3.4 to 3.5.

Background-image

$
0
0

I have try this but no successful result comes....

Access objects from tabs page

$
0
0

maybe it is because you use an asynchronous call in your child page?

Npm5 lock files - What changes?

$
0
0

npm5.1 is out and there is some stuff relevant to what we discussed:
https://github.com/npm/npm/releases/tag/v5.1.0

47e8fc8eb #17508 Make npm ls take package locks (and shrinkwraps) into account. This means npm ls can now be used to see which dependencies are missing, so long as a package lock has been previously generated with it in. (@iarna)

Most important:

f0075e7ca #17508 Take package.json changes into account when running installs -- if you remove or add a dependency to package.json manually, npm will now pick that up and update your tree and package lock accordingly. (@iarna)

If that works as I understand it, this removes the requirement to delete package-lock.json manually before running npm install.

Also:

a1058afd9 #17169 Document --no-package-lock flag. (@leggsimon)

Ionic Cordova Build Failure

$
0
0

Open Android Studio, go to SDK Manager, install an Android Target. Maybe restart you computer, try again.

iOS splashscreen spinner not centered

$
0
0

Ah ok.

I would create a new project (ionic start blank blank), build it once to check the spinner is correct, place your resources files in there, run ionic cordova resources, build again to check if still correct. If yes, compare whole projects and see what is different (besides your custom code of course).

`ionic serve` changes my colors

$
0
0

Still definitely UI components for different platforms. Try ionic serve --lab and show Android and iOS and compare to your screenshots - do they (the input stuff from the other page) match? Do you also get different background colors is you do that?


Access objects from tabs page

$
0
0

sorry, not getting data. still waiting for result .

How to add the toggle button on right side of the card header

$
0
0

thanks for your solution, I cleared my needs, by this

Strange artifact under header navbar on Android devices

Access objects from tabs page

$
0
0

Eliminate all providers from components. They are causing you to get per-component instances. You also probably don't want per-component directives, and please give things proper types instead of abusing any.

Ionic 3 android gradle build takes long time!

$
0
0

Ionic info:
global packages:

@ionic/cli-utils : 1.0.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.0.0

local packages:

@ionic/app-scripts              : 1.3.12
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3 windows 5.0.0
Ionic Framework                 : ionic-angular 3.5.0

System:

Node       : v6.11.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed

ionic cordova build android --prod
Running app-scripts build: --prod --iscordovaserve --externalIpRequired --nobrowser

[13:01:03] build prod started ...
[13:01:03] clean started ...
[13:01:03] clean finished in 56 ms
[13:01:03] copy started ...
[13:01:03] ngc started ...
[13:01:13] ngc finished in 9.31 s
[13:01:13] preprocess started ...
[13:01:13] deeplinks started ...
[13:01:13] deeplinks finished in 141 ms
[13:01:13] optimization started ...
[13:01:13] copy finished in 9.81 s
[13:01:23] optimization finished in 10.36 s
[13:01:23] preprocess finished in 10.50 s
[13:01:23] webpack started ...
[13:01:29] webpack finished in 6.00 s
[13:01:29] sass started ...
[13:01:29] uglifyjs started ...
[13:01:30] sass finished in 949 ms
[13:01:30] cleancss started ...
[13:01:31] cleancss finished in 1.20 s
[13:01:39] uglifyjs finished in 9.60 s
[13:01:39] postprocess started ...
[13:01:39] postprocess finished in less than 1 ms
[13:01:39] lint started ...
[13:01:39] build prod finished in 35.53 s

cordova build android

ANDROID_HOME=C:\Users\username\AppData\Local\Android\
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_112howAlert(Err
Subproject Path: CordovaLib
The Task.leftShift(Closure) method has been deprecated a
[13:02:1at build_b1us5zh0o4kbvz0k2z0f5tp0z.run(C:\Users\
The JavaCompile.setDependencyCacheDir() method has been
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated
:preBuild UP-TO-DATEalert = that.utilities.showAlert(Err
:preDebugBuild UP-TO-DATEsent();
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATErt'
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl UP-TO-DATEies.showAlert(Err
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint UP-TO-DATE
:CordovaLib:copyDebugLint UP-TO-DATE code/Synergita src
:CordovaLib:mergeDebugShaders UP-TO-DATEt never used.
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATEstring, passwo
:CordovaLib:mergeDebugAssets UP-TO-DATE: NavController,
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:incrementalDebugJavaCompilationSafeguard UP-
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug U
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsF
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug UP-TO-DATE
:prepareOrgApacheCordovaCordovaLib623DebugLibrary UP-TO-
:prepareDebugDependencies
:compileDebugAidl UP-TO-DATE
:compileDebugRenderscript UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:processDebugManifest UP-TO-DATE
:processDebugResources UP-TO-DATE
:generateDebugSources UP-TO-DATE
:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:compileDebugJavaWithJavac UP-TO-DATE
:compileDebugNdk UP-TO-DATE
:compileDebugSources UP-TO-DATE
:mergeDebugShaders UP-TO-DATE
:compileDebugShaders UP-TO-DATE
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets
:transformClassesWithDexForDebug UP-TO-DATE
:mergeDebugJniLibFolders UP-TO-DATE
:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:processDebugJavaRes UP-TO-DATE
:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:validateSigningDebug
:packageDebug
:assembleDebug
:cdvBuildDebug

BUILD SUCCESSFUL

Total time: 2 mins 46.476 secs
Built the following apk(s):

Android studio version: 2.1.1

Kindly, provide me a solution to reduce the gradle build time.

Viewing all 228554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>