I'm new on Appcelerator Titanium. I have old version a project. I want to upgrade my project, but I get an error. I used some method but didnt work. How can I solve this problem?
[INFO] : Found Titanium module id=ti.map version=3.1.2
platform=iphone deploy-type=development
path=/Users/krt/Library/Application
Support/Titanium/modules/iphone/ti.map/3.1.2
[WARN] : Could not find
a valid Titanium module id=com.adr.module version=latest
platform=iphone deploy-type=development
[INFO] : Found Titanium
module id=ti.cloud version=3.2.10 platform=commonjs
deploy-type=development path=/Users/krt/Library/Application
Support/Titanium/modules/commonjs/ti.cloud/3.2.10
[ERROR] : Could not
find all required Titanium Modules:
[ERROR] : id: com.adr.module
version: latest platform: iphone deploy-type: development
It seems you are trying to compile your project but you don't have com.adr.module on your computer.
If this module functionality is required for your application than you have to add this module to you Appcelerator Studio or remove the functionality.
Related
I a developing a mobile app and i am getting this build error when try to launch the app on ios simulator. Much appreciate that if someone can help me figure this out.
[ERROR] ** BUILD FAILED **
[ERROR] The following build commands failed:
[ERROR] CopySwiftLibs /Users/shenalvanderwall/Documents/Appcelerator_Studio_Workspace/appforusers/build/iphone/build/Products/Debug-iphonesimulator/appforusers.app
[ERROR] (1 failure)
Process exited with 1
app was perfectly running till yesterday.
I figured it. The problem was with the Titanium SDK. I downgraded it from 9.3 to 9.1.
Now it is working. The error was Titanium SDK was damaged somehow.
I have a freshly installed 10.10 os which has all new xcode 7 and latest appcelerator installs.
Whenever I a building one app using xcode 7, simulator 9, titanium 5.0.0.GA or 5.0.1.GA etc it gives me the below error.
[ERROR] : BUILD FAILED
[ERROR] : The following build commands failed:
[ERROR] : CompileC build/Intermediates/YALLA.build/Debug-iphonesimulator/YALLA.build/Objects-normal/i386/WatchSessionModule.o Classes/WatchSessionModule.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Funny thing is that it runs just fine in 4.1.0.GA
I have tried all different sdks, reinstalled them and still no luck.
Go to your titanium sdk folder. Go to the version you are building your app in.
Generally its in your namespace.
/Library/Application\ Support/Titanium/mobilesdk/osx/5.2.1.GA/iphone/Classes/
Open the file WatchSessionModule.h
Change the below line of code
#import <WatchConnectivity/watchConnectivity.h>
to
#import <WatchConnectivity/WatchConnectivity.h>
Clean, Build and Run Your Application. You are good to go.
i am new in titanium development environment, i have just installed titanium, nodejs and android framework on my pc. everything is fine but when i am trying to run my project it's giving me this log :-
Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA
Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[INFO] : Deploy type: development
[INFO] : Building for target: emulator
[INFO] : Building for emulator: Nexus 7
[INFO] : Targeting Android SDK: 19
[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86
[INFO] : Signing with keystore: C:\Users\adnig\AppData\Roaming\Titanium\mobilesdk\win32\3.2.2.GA\android\dev_keystore (tidev)
[INFO] : Debugging disabled
[INFO] : Profiler disabled
[INFO] : Forcing rebuild: C:\Users\adnig\Documents\Titanium_Studio_Workspace\Work\build\android\build-manifest.json does not exist
[INFO] : Launching emulator: Nexus 7
[INFO] : Running: C:\Users\adnig\Downloads\Compressed\adt-bundle-windows-x86-20140321\adt-bundle-windows-x86-20140321\sdk\tools\emulator.exe "-avd" "Nexus 7" "-port" "5554" "-no-boot-anim" "-partition-size" "128"
[ERROR] Application Installer abnormal process termination. Process exit value was 1
i don't know what's this problem is all about.
Check if you installed required Android SDKs.
In your case you need to install Android SDK 19 or change it in tiapp.xml file.
In my experience with Titanium , the " Application Installer abnormal process termination. Process exit value was 1 " error is the most common error and it does not point to something specific. Basically everything that makes your app / emulator crash or close will throw up that error. Common errors that cause this are :
-A faulty setup of the SDK
-An error in your Code
-Mismatch between The titanium IDE version in your tiapp.xml file and your actual titanium version.
-An error in your emulator
Also note that the default emulator is too slow.
What I would do in your situation :
-Check the status of your SDK by going to Dashboard, and scroll down to setup native sdk's. Make sure that the environment you are deploying to is shown as green !
-Use a real device to test, or use genymotion as emulator (it's super fast !)
-Set up a new project (file -> new project -> mobile application project -> 2 tabbed alloy , fill in the details) with sample code and see if it runs.
CLI version 3.2.0, Titanium SDK version 3.1.3.GA
the app runs fine in simulator but on device i get an error at start up
couldn't find module alloy/sync/util
error is correct as in build logs and on alloy directory i do not see util.js
i only see
[INFO] : - alloy/sync/localStorage.js
[INFO] : - alloy/sync/properties.js
[INFO] : - alloy/sync/sql.js
before upgrade of titanium studio the app worked fine on device
can some one tell me where did the util.js file go ? or i have add reference to that file ?
and yes my app is using migrations
I already created a Titanium Android module for C2DM Push notifications in Titanium version 1.7.5. Recently I have upgraded my Titanium studio to 1.8.0.1, when I try to run the module I created, the build quits by saying following error message
[DEBUG] Looking for Titanium Module id: com.xxx.yyyy.zzzz, version: 0.1, platform: android
[DEBUG] module_id = com.xxx.yyyy.zzzz
[ERROR] The 'apiversion' for 'com.xxx.yyyy.zzzz' in the module manifest is not a valid value. Please use a version of the module that has an 'apiversion' value of 2 or greater set in it's manifest file
=================
Thanks
I got worked on Android.
apiversion: 2
to be added on the manifest file. For further more reference check this URL.