Cannot find module '#angular/compiler-cli/ngtoolds2' - android

i'm getting the following error
ionic-app-script task: 'build'
Error: cannot find module '#angular/compiler-cli/ngtoolds2'
can anyone help me with this problem in angular?

There is no module called #angular/compiler-cli/ngtoolds2.
It should be angular-cli-tools what you are looking for .
https://www.npmjs.com/package/angular-cli-tools

Related

why do i get the error "Gradle sync failed: Cause: startup failed: invalid token"?

Here's the link to build.gradle . I'm not able to find the error.
I fix your code and build it a success. You can see the PR in Github.
I think it just a little environment setting problem.
https://github.com/kabburesai/Demo/pulls
Update:
I build it again and find the styles.xml has incorrect, so I fix it also.
enter image description here
Unexpected token mostly means syntax error only. There's just a command(code, character or words) that was incorrectly placed.
According to your error, it points to your build.gradle (root).

KeyboardVisibilityPlugin - simple name is already defined

Everything worked fine, but after upgrading packages I have got this error. BUT when I reverse the pubspec.lock I have got the same error...
Projects/app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:23:
error: a type with the same simple name is already defined by the single-type-import of KeyboardVisibilityPlugin
import com.github.adee42.keyboardvisibility.KeyboardVisibilityPlugin;
^
1 errorGradle task assembleDebug failed with exit code 1
Here is the solution:
1) Search for keyboard_visibility plugin used in your added plugin.
2) Remove or contact the author for the fix this issue.
3) run flutter clean.
This way I solved the issue.

How to fix error "could not find class 'com.github.OrangeGangsters.circularbarpager.library.CircularBar'

I'm trying to get Daniel Waldron's CircularBarPager working with Android Studio but unfortunately it won't work.
error:E/dalvikvm: Could not find class 'com.github.OrangeGangsters.circularbarpager.library.CircularBar', referenced from method com.github.OrangeGangsters.circularbarpager.library.CircularBarPager.initializeView
Error: Could not find comes when you are trying to run your Java
program using java command with the class is not able to find the
class.
You need to follow CircularBarPager Instructions .
Just add this to your build.gradle file
compile 'com.github.orangegangsters:library:1.3.4#aar'
Example
dependencies {
compile 'com.github.orangegangsters:library:1.3.4#aar'
}
Then Clean-Rebuild-Restart Your Project .Hope it will works .

Phonegap Android Cordova buid Failed

I am trying build a Android project in Phonegap.
On "cordova build" command i am getting the below error
My project folder Path: Audio\platforms\android\...
CordovaLib\src\org\apache\cordova\ExposedJsApi.java:43: error: cannot find symbol
CordovaLib\src\org\apache\cordova\ExposedJsApi.java:38: error: cannot find symbol
CordovaLib\src\org\apache\cordova\ExposedJsApi.java:43: error: cannot find symbol
CordovaLib\src\org\apache\cordova\IceCreamCordovaWebViewClient.java:34: error: cannot find symbol
CordovaLib\src\com\squareup\okhttp\internal\http\HttpsURLConnectionImpl.java:347: error: method does not override or implement a method from a supertype
[javac] #JavascriptInterface
...
Basically they are pointing to my "CordovaLib\src" #JavascriptInterface. Why is this, Where do i am missing
Please Help ..
CordovaLib\src\com\squareup\okhttp\internal\http\HttpsURLConnectionImpl.java:347: method does not override or implement a method from a supertyp **this error showing**
Some out of date packages on you machine were creating this. please upgrade everything it will works fine.

andEngine Android-Studio linker Error during Build

I took the source of AndEngine from their git repo, downloaded a fresh AndroidStudio, sdk and ndk,imported it, and tried to creat a simple new empty GameActivity extends BaseGameActivity.
But I could not start it, cause I get the following errors:
/home/uhu/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj/local/armeabi-v7a/objs/andengine_shared//home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.o: in function Java_org_andengine_opengl_GLES20Fix_glVertexAttribPointer:/home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.c:9: error: undefined reference to 'glVertexAttribPointer'
/home/uhu/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj/local/armeabi-v7a/objs/andengine_shared//home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.o: in function Java_org_andengine_opengl_GLES20Fix_glDrawElements:/home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.c:13: error: undefined reference to 'glDrawElements'
Error:Execution failed for task ':andEngine:compileReleaseNdk'.
com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/home/uhu/android-ndk-r9d/ndk-build NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/Android.mk APP_PLATFORM=android-15 NDK_OUT=/home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj NDK_LIBS_OUT=/home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/lib APP_ABI=all
Error Code:
2
Output:
/home/uhu/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj/local/armeabi-v7a/objs/andengine_shared//home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.o: in function Java_org_andengine_opengl_GLES20Fix_glVertexAttribPointer:/home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.c:9: error: undefined reference to 'glVertexAttribPointer'
/home/uhu/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: /home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj/local/armeabi-v7a/objs/andengine_shared//home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.o: in function Java_org_andengine_opengl_GLES20Fix_glDrawElements:/home/uhu/AndroidStudioProjects/aaa/andEngine/src/main/jni/src/GLES20Fix.c:13: error: undefined reference to 'glDrawElements'
collect2: ld returned 1 exit status
make: * [/home/uhu/AndroidStudioProjects/aaa/andEngine/build/intermediates/ndk/release/obj/local/armeabi-v7a/libandengine_shared.so] Error 1
Does anyone know how to fix this? Or if I'm just using the wrong tools, what can you recommend?
I managed to get my project to compile. The problem seems to me that AS and ndk dont work together well yet. Any case check my blog on setting up the project:-
AS and AndEngine setup
It seems to be easier using the official intellij version instead of android studio. And as both are very similar in use, it't doesn't really matter. Together with some ndk-build hints from the answer of lakshman5876, it finally worked very well. Thanks
http://www.jetbrains.com/idea/

Categories

Resources