Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

Generating apk with Capacitor

$
0
0

I am new to Ionic framework, trying to develop a mobile app, followed steps provided in Android App Development Guide: Build Ionic Apps in Android Studio ,
installed gradle manually (Gradle 7.3.3)
and ran the below command
ionic capacitor copy android; cd android; ./gradlew assembleDebug; cd … (powershell)
but getting error
A problem occurred configuring root project ‘android’.

Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2.
Required by:
project : > com.android.tools.build:gradle:4.2.1
Could not resolve org.tensorflow:tensorflow-lite-metadata:0.1.0-rc2.
Could not get resource ‘https://jcenter.bintray.com/org/tensorflow/tensorflow-lite-metadata/0.1.0-rc2/tensorflow-lite-metadata-0.1.0-rc2.pom’.
Could not HEAD ‘https://jcenter.bintray.com/org/tensorflow/tensorflow-lite-metadata/0.1.0-rc2/tensorflow-lite-metadata-0.1.0-rc2.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:aaptcompiler:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:gradle-api:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > androidx.databinding:databinding-compiler-common:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:builder-model:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:common:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.build:manifest-merger:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools.analytics-library:tracker:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.lint:lint-gradle-api:27.2.1 > com.android.tools.lint:lint-model:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdklib:27.2.1 > com.android.tools:repository:27.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1 > com.android.tools:sdk-common:27.2.1 > com.android.tools.analytics-library:shared:27.2.1
Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.31.
Could not get resource ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.31/kotlin-stdlib-jdk8-1.4.31.pom’.
Could not HEAD ‘https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.4.31/kotlin-stdlib-jdk8-1.4.31.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve org.ow2.asm:asm:7.0.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:builder:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > com.android.tools.build:gradle-api:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > org.ow2.asm:asm-util:7.0
Could not resolve org.ow2.asm:asm:7.0.
Could not get resource ‘https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom’.
Could not HEAD ‘https://jcenter.bintray.com/org/ow2/asm/asm/7.0/asm-7.0.pom’.
The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: Build Environment
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve org.ow2.asm:asm-analysis:7.0.
Required by:
project : > com.android.tools.build:gradle:4.2.1
project : > com.android.tools.build:gradle:4.2.1 > org.ow2.asm:asm-util:7.0

BUILD FAILED in 9s

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



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