Firebase jar file works for both iOS and Android. But when I try to deploy the web version, it gives me an error:
[ERROR] Line 18: No source code is available for type com.firebase.client.Firebase; did you forget to inherit a required module?
I tried to add the dependencies in the module settings to the HTML project.
But it still gives me this error.
Does anyone know how to solve this? Any advice would be appreciated.
Related
When running Spring boot, there is error "Code language not supported or denied" Source: Code Runner(extension). Then I installed extension HTML snippets and HTML5 boilerplates but it didn't work please help me to resolve it > Ineed to check local embaded server functioning.
.I tried to search error and follow those steps like installing reauired extentions.
.I installed HTML snippets and HTML5 boilerplate but I couldn't resolved it
I have an old project in cocos2dx 3.13.1. I have made some changes in the game last week. After making some changes i compiled it for ios from xcode and it works well, but while trying to compile in android using cocos compile -p android --android-studio command in terminal, i faced following error. I have used android-ndk-r14b, apache-ant-1.10.1 and Android SDK Tools Version 26.0.2
Android NDK: WARNING: Unsupported source file extensions in jni/Android.mk for module cocos2dcpp_shared
Android NDK: ../../../Classes/NewsLayer
Android NDK: ERROR:/Users/pradipbhattarai/Desktop/Testing/cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that /Users/pradipbhattarai/Desktop/Testing/cocos2d/external/freetype2/prebuilt/android/x86_64/libfreetype.a exists or that its path is correct
make: Entering directory `/Users/pradipbhattarai/Desktop/Testing/proj.android-studio/app'
/Users/pradipbhattarai/development/java/android-ndk-r14b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
make: Leaving directory `/Users/pradipbhattarai/Desktop/Testing/proj.android-studio/app'
Error running command, return code: 2.
any help will be highly appreciable.
look at the error:-
Android NDK: ERROR:/Users/pradipbhattarai/Desktop/Testing/cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILES points to a missing file
One of the reason is that you have entry of a class file in Android.mk file , that you have deleted from Class folder. Suppose you have entry of 'HelloWorldScene.cpp'in Android.mk but you have already deleted this filr from Class folder.
Please check that
I have solved this issue, but i just forgot to post my solution. I think it will be solution to other developers who are facing same problem. The problem was with the .d files. After removing the previous .d files, the problem was solved.
Go to proj.android-studio/app/obj/local and remove the armeabi directory. It worked for me.
Reference Link: https://sysprogs.com/w/forums/topic/unable-to-compile-cpufeatures-library-on-android/
I am creating an example for our next F# meetup and have run into an issue.
I have downloaded the FSharp.Data v2.2.1 to try the JSON tutorials to parse (stock options) data downloaded from the web. I have been struggling with this issue for almost a week now. I have followed the suggestions seen in other posts including complete uninstall of packages suggestion. I ran into the same issue trying to use the CSV provider and decided to switch to JSON.
I have #load #"C:\ full path to dll ...\lib\net40\FSharp.Data.dll" For some reason I have to give the full path for the F# script file to recognize it.
The line open FSharp.Data has an error "The namespace 'Data' is not defined"
Nuget package manager shows that FSharp.Data version:2.2.1 is installed.
I have uninstalled and reinstalled all packages in the project several times but it does not change the error.
So I am stuck at that point. I could use some insights from anyone who has been down this path.
The following steps worked for me. I started from a new F# project and did everything in F# Interactive.
Right click references folder in the project manager.
Select manage nuget packages
Install FSharp.Data
Reference the library in F# Interactive:
\#r #"C:\Users\{Full project path}\packages\FSharp.Data.2.2.1\lib\net40\FSharp.Data.DesignTime.dll";;
I get the warning that the library is locked. But F# Interactive allows me to open it.
Open the library:
open FSharp.Data;;
Run JsonProvider on file with data:
type Stocks = JsonProvider<"C:\msft.txt">;;
I am trying to remote debug with FDB over USB and after I've compiled the app with amxmlc, I got the following errors:
No definitions matching so.cuo.platform admob.* could be found
Type was not found or was not a compile-time constant: IntroScreen_mc
...
My app uses admob extension, also in FlashDevelop after I compile the app there are no errors. I am using SDK 4.0 and all my swc libraries have been imported. I think there is something wrong with the paths but I don't know where to look.
Yes ,it a path error.
you not pack the ane lib realy ,you just packed the swc,so it work well when pack,but fail when run application.
how to fix?
right click your project in flash builder ,then set package option of ios or android.check up the check box under package option.
I have a webapp I'll call "App1" I am using to create some webplots. I have the .jar files in webapps/App1/lib/ and when I visit the server, I find that I am able to launch some webapps, but others I get funny exceptions. One, being
java.lang.NoClassDefFoundError: Could not initialize class com.jrefinery.chart.JFreeChartConstants
Then, when I add the jfreechart jar to the classpath, I get a different error:
java.lang.NoClassDefFoundError: com/jrefinery/util/ObjectUtils
tomcat version: 7.0.19
OS: ubuntu 12.04
I've tried it on a windows installation and it seems to work just fine. So I'm guessing it's a classpath error? I've tried adding the jfreechart-*.jar to the catalina classpath but it doesn't seem to fix anything. I've also tried to copy the webapp/App1/lib/ jar files to the top level/lib folder and this doesn't fix anything either.
Any ideas here?
Thanks.
You are missing the correct jar file in your project.
The jfreechart project has been repackaged. If you include the old jfreechart-0.9.3.jar, it will fix your compiler errors.
jfreechart-0.9.3.jar
download : http://mirrors.ibiblio.org/pub/mirrors/maven2/jfreechart/jfreechart/0.9.3/jfreechart-0.9.3.jar