I'm trying to create libGDX with Kotlin option. After creating a project with libGDX, opening it with Android Studio. IDE give the error below:
Error:Could not initialize class
org.jetbrains.kotlin.kapt.idea.KaptModelBuilderService
What wrong with my project? Thanks in advance.
Error due to Version mismatch between Kotlin plugin and Gradle.
Here is the similar issue tracked at JetBrains issue tracker, also there is post for the same issue.
Try to disable Kotlin plugin and update to latest version.
I've no issue while using Kotlin in Android Studio 3.0.1.
I'm using :
Gradle version 3.3
Kotlin plugin version 1.2.10-release-studio3.0-1
Kotlin version 1.2.10
Android-gradle-plugin version 2.3.3
LibGDX 1.9.8
Related
I started a new universal app using vs 2015 ctp 5, mvvmcross 3.5.0 + sqllite plugin 3.5.0.
I am using the famous N=.... serie of vídeos, especificaly n=12 Collect A Bull as a reference.
I created a new pcl Project as a core and a universal app Project(3 projects), added nuget packages to core , wp8.1 and to w8.1, everything good so far.
Then i copied the service folder from N=12 sample, added related nuget packages.
My trouble is: at this line _connection = factory.Create("collect.sql"); on repository i've got a exception :
A first chance exception of type 'System.DllNotFoundException' occurred in Cirrious.MvvmCross.Plugins.Sqlite.WindowsCommon.DLL
Additional information: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
The message is pretty clear cannot found sqlite3.dll i've seen some articles to add file and reference manually, but i did not see nothing on the vídeo, and the N-12 sample runs ok?
How the sample can access the mentioned sqlite dll, it could be related to universal app?
By comparison i found a missing reference in wp project: Community.CsharpSqlite.WP7 i added manually but does not solve.
Any suggestions?
So, to solve this i just have to download from http://www.sqlite.org/download.html and add reference manually
Thanks to mohibsheth on jabbr room
Try adding
Install-Package MvvmCross.HotTuna.Plugin.Sqlite -Version 3.2.1
from package manager console. It worked for me.
If directly it didn't worked, then remove all the packages and add all packages of version 3.2.2 like :
Install-Package MvvmCross -Version 3.2.2
Install-Package MvvmCross.HotTuna.Plugin.FieldBinding -Version 3.2.2
Install-Package MvvmCross.HotTuna.Plugin.Messenger -Version 3.2.2
Still having problem with the packages?Uncheck Silverlight from Core project properties.
Version 3.5.0 raising problems for me too.
Hope this helps.
I would check out the SQLite.Net-PCL project. I've heard of some success in people using that although I have not personally used it yet.
I just submitted a pull request to the MvvmCross Community SQLite project to update it to MvvmCross 3.5 and unified iOS API - so you could give that a try as well. There is no new NuGet for that yet however. You'll need to clone the project and compile it yourself.
I have installed scala IDE 4.0.0 on Eclipse Luna.
It is not displaying Scala Worksheet option which is displayed on Scala IDE 3.0.2 on Eclipse Kepler.
Could anyone tell me is Scala Worksheet feature is removed in version 4.0.0 or is it a bug or some workaround I should do
Go to help->install new software
Put this link in the URL
http://download.scala-ide.org/sdk/lithium/e44/scala211/stable/site
and select Scala IDE plugins(incubation)
U can do next and install this plugin.
I have uninstalled the scala plugin and re-installed the same. Now it is working fine.
I am using Parse.com storage service for Windows Phone 8. When I try to initialize
ParseClient.Initialize("MY_APP_ID","MY_NET_ID");
I am getting this exception:
System.NotImplementedException: The method or operation is not implemented.
at Windows.Storage.ApplicationData.get_LocalSettings()
at Parse.PlatformHooks.SettingsWrapper..ctor()
at Parse.PlatformHooks.SettingsWrapper.get_Wrapper()
at Parse....
I am targeting Windows Phone 8 and I found out that WP8 is not supporting LocalSettings, just WP8.1.
When I target it to WP8.1 everything is working fine.
But...
I have another application for WP8 in which I am using Parse and everything is working fine.
How can I avoid this problem?
Just for info: App which does not work was built for WP7.1 and than upgraded to WP8, and another which works fine was from beginnig targeting WP8.
Thanks
I found the solution. If someone has the same problem, just install older version of parse package in Nuget.
PM> unInstall-Package parse
PM> Install-Package parse -Version 1.2.16
I Recently downloaded 1.1.0 version of libgdx that was near about 54 MB.
When I run gdx-setup.jar it again downloads from gradle.
When my Internet is disconnected if fails, why?
How to use downloaded files? Do I need to download every-time I create a project?
Your gdx-setup-jar is programmed to download libgdx each time you create a project, and does not search your computer for libgdx and I do not believe there is an easy way to get past that. You can import your project into your IDE once you have set it up with the gradle plugin. Here are some links that should help you install the gradle plugin.
Eclipse Gradle
Intellij IDEA Gradle
NetBeans Gradle
Installing Gradle With the Commandline
I hope this answer was helpful :)
I have installed MonoDevelop 2.8.2 using the windows .Net runtimes for now. I would like to use the latest Mono binaries (3.0.1) instead. To achieve that I´ve installed Mono 3.0.1 for windows from here
I´ve added the runtime in MonoDevelop via Tools->Options->Preferences->.NET Runtimes so that it shows up correctly in the list and set it as default. I made sure that my project uses this runtime (Project->Active Runtime->Mono 3.0.1). When I build a simple console project now I get the following error:
Build failed.The specified executable is not a valid application for
this OS platform.
Can anybody shed some light whats going wrong here?