Appcelerator Titanium - adding a MODULE - titanium-mobile

I have compiled an Android module for Titanium mobile SDK 2.1.3, but when I try to add it to an empty application I get the following error, when I try to build the app.
[ERROR] Error(s) compiling generated Java code
[ERROR] C:\Users\foobar\My Documents\Titanium Studio Workspace\RT\build\android\gen\com\foobar\FBApplication.java:42: cannot find symbol
symbol : class SpspmoduleBootstrap
location: package com.foobar.spspmodule
runtime.addExternalModule("com.foobar.spspmodule", com.foobar.spspmodule.SpspmoduleBootstrap.class);
Anyone have any ideas?

Related

Not able to compile my Xamarin.Android application after upgrading to Xamarin.forms version 5.0.0.2012

Error APT2259: 'textEnd' is incompatible with attribute iconGravity (attr) flags [start=1, textStart=2] [weak]. (APT2259)
Error APT2061: failed linking file resources. (APT2061)

Failed to resolve "WindowsAzure.MobileServices.MobileServiceClient)" reference from "Microsoft.WindowsAzure.Mobile, Version=1.3.0.0

I have a Xamarin.Forms app in Visual Studio 2017 and I am trying to deploy the .iOS project to my iPhone and I get this error:
Failed to resolve "System.Void Microsoft.WindowsAzure.MobileServices.MobileServiceClient::.ctor(System.String,System.String)" reference from "Microsoft.WindowsAzure.Mobile, Version=1.3.0.0
How do I resolve this error?

Titanium Alloy compile failed without error message

When i try to build with titanium studio, i got error message :
[ERROR] :
[ERROR] : Alloy compiler failed
Without another error message, just a blank error message and build is not done.
How can i check which file has an issue ?
Thanks
If the compiler fails it is usually always a typo somewhere in your code. In Studio, check for a little red attention mark next to the filename of the files in your project folder.

Unable to build Xamarin solution on Android

Please tell me how to fix the problem. I updated Xamarin forms dll.
I get the following error:
Error error: cannot find symbol
private native void n_onInflate (android.support.v7.widget.ViewStubCompat p0, android.view.View p1);
symbol: class ViewStubCompat
location: package android.support.v7.widget
obj\Debug\android\src\mono\android\support\v7\widget\ViewStubCompat_OnInflateListenerImplementor.java
Error error: cannot find symbol
public void onInflate (android.support.v7.widget.ViewStubCompat p0, android.view.View p1)
symbol: class ViewStubCompat
location: package android.support.v7.widget
obj\Debug\android\src\mono\android\support\v7\widget\ViewStubCompat_OnInflateListenerImplementor.java
Error error: package android.support.v7.widget.ContentFrameLayout does not exist
android.support.v7.widget.ContentFrameLayout.OnAttachListener
obj\Debug\android\src\mono\android\support\v7\widget\ContentFrameLayout_OnAttachListenerImplementor.java
Error error: package android.support.v7.widget.FitWindowsViewGroup does not exist
android.support.v7.widget.FitWindowsViewGroup.OnFitSystemWindowsListener
\obj\Debug\android\src\mono\android\support\v7\widget\FitWindowsViewGroup_OnFitSystemWindowsListenerImplementor.java
Error error: package android.support.v7.widget.ViewStubCompat does not exist
android.support.v7.widget.ViewStubCompat.OnInflateListener
\obj\Debug\android\src\mono\android\support\v7\widget\ViewStubCompat_OnInflateListenerImplementor.java
Did you "update all Nuget packages"? This will download the incorrect versions of the Google libs. You will have to update the Forms packages manually, they will then pull in the required dependencies.
Also make sure you update the packages in all of your projects (the actual Forms project and the platform specific ones).
Finally, clean the solution and rebuild.
James Montemagno explains the issue perfectly here:
Xamarin Forums
I suspect you have updated all packages which will require manual intervention as described by #Krumelur above.

Opening new Android project Error

I have installed ADT plugin for Eclipse Indigo, and I have not encountered any problems during installation. However once I tried to start a new android project through File > New > Android > Android project I got this error "Problem opening wizard. The selected wizard could not be started".
After checking out the details of this error I have the following error detail:
"The selected wizard could not be started.
Plug-in com.android.ide.eclipse.adt was unable to load class com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard.
Bad version number in .class file"
Check your java version. It also happened to me and I switched from Java 1.5 to Java 1.6 in /etc/alternatives (Ubuntu).

Resources