Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3625] Default Alloy projects not showing any resource files

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-05-24T21:07:23.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reporterbinoy
AssigneeShak Hossain
Created2016-05-13T06:43:19.000+0000
Updated2016-05-24T21:07:23.000+0000

Description

Steps to Reproduce

1. Create a new MobileAppProject 2. Create a new sql model 3. Neither can find the model i created nor any resource files in the main project(views and other js files)

Actual Result

Can see only 3 files namely changelog ,license , manifest and a empty resource folder

Expected Result

Want to see all the resource file and project structure. Also newly created model as well

Attachments

FileDateSize
.log2016-05-13T06:43:23.000+0000242746
Capture.PNG2016-05-13T06:43:38.000+000020033
diagnostic2943119126512176311.log2016-05-13T06:43:36.000+000070537
Screen Shot 2016-05-13 at 9.14.39 PM.png2016-05-13T15:17:16.000+000092534
Screen Shot 2016-05-13 at 9.15.45 PM.png2016-05-13T15:17:16.000+000070375
Screen Shot 2016-05-13 at 9.16.33 PM.png2016-05-13T15:17:16.000+0000102528

Comments

  1. Sharif AbuDarda 2016-05-13

    Hello, I just tested it. I can create a new Alloy project and a sql model inside it. Please see the attachment. I would suggest you run " appc setup" and install Alloy again. Thanks.
  2. Nazmus Salahin 2016-05-16

    Hello [~binoy92], Please let us know if the above suggestions solve the issue. The issue you have reported is not likely to happen if your environment is configured properly. If you still face the issue please run the following command give us the log.
       appc info
       
    Thanks in advance
  3. binoy 2016-05-16

    Thanks for the replies. appc info : Appcelerator Command-Line Interface, version 5.2.2 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. Operating System Name = Microsoft Windows 8.1 Enterprise Version = 6.3.9600 Architecture = 64bit # CPUs = 4 Memory = 7.7GB Node.js Node.js Version = 4.2.2 npm Version = 2.14.7 Appcelerator CLI Installer = 4.2.4 Core Package = 5.2.2 Titanium CLI CLI Version = 5.0.6 node-appc Version = 0.2.31 Titanium SDKs 5.2.2.GA Version = 5.2.2 Install Location = C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA Platforms = android, mobileweb, windows git Hash = b685ddb git Timestamp = 03/28/16 14:12 node-appc Version = 0.2.33 Intelr Hardware Accelerated Execution Manager (HAXM) Installed = yes Memory Limit = 2 GB Java Development Kit Not found Genymotion Path = not found Genymotion Executable = not found Genymotion Player = not found Home = not found VirtualBox Executable = not found Version = unknown Android SDK Android Executable = c:\suppgms\sdk\tools\android.bat ADB Executable = c:\suppgms\sdk\platform-tools\adb.exe SDK Path = c:\suppgms\sdk Android NDK NDK Path = not found NDK Version = not found Android Platforms 1) android-19 Name = Android 4.4.2 **Not supported by Titanium SDK 5.2.2.GA** API Level = 19 Revision = 4 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = armeabi-v7a, x86 Path = c:\suppgms\sdk\platforms\android-19 2) android-21 Name = Android 5.0.1 **Not supported by Titanium SDK 5.2.2.GA** API Level = 21 Revision = 2 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, Andr ABIs = armeabi-v7a, x86, x86_64 Path = c:\suppgms\sdk\platforms\android-21 3) android-22 Name = Android 5.1.1 **Not supported by Titanium SDK 5.2.2.GA** API Level = 22 Revision = 2 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = x86, x86_64 Path = c:\suppgms\sdk\platforms\android-22 Android Add-Ons 4) Google Inc.:Google APIs:19 Name = Android 4.4.2 (API level 19) **Not supported by Titanium SDK 5.2.2.GA** Vendor = Google Inc. Revision = 12 Description = Android + Google APIs Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = armeabi-v7a Path = c:\suppgms\sdk\add-ons\addon-google_apis-google-19 Libraries = com.google.android.media.effects: Collection of video effects (effects.jar) com.android.future.usb.accessory: API for USB Accessories (usb.jar) com.google.android.maps: API for Google Maps (maps.jar) 5) Google Inc.:Google APIs (x86 System Image):19 Name = Android 4.4.2 (API level 19) **Not supported by Titanium SDK 5.2.2.GA** Vendor = Google Inc. Revision = 15 Description = Android x86 + Google APIs Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = x86 Path = c:\suppgms\sdk\add-ons\addon-google_apis_x86-google-19 Libraries = com.google.android.media.effects: Collection of video effects (effects.jar) com.android.future.usb.accessory: API for USB Accessories (usb.jar) com.google.android.maps: API for Google Maps (maps.jar) 6) Google Inc.:Google APIs:21 Name = Android 5.0.1 (API level 21) **Not supported by Titanium SDK 5.2.2.GA** Vendor = Google Inc. Revision = 1 Description = Android + Google APIs Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, Andr ABIs = x86 Path = c:\suppgms\sdk\add-ons\addon-google_apis-google-21 Libraries = com.google.android.media.effects: Collection of video effects (effects.jar) com.android.future.usb.accessory: API for USB Accessories (usb.jar) com.google.android.maps: API for Google Maps (maps.jar) Android Emulators CLTS7 Path = C:\Users\i312016\.android\avd\CLTS7.avd SDK Version = Android 4.4.2 (API level 19) ABI = armeabi-v7a Skin = WXGA720 SD Card = no sd card Google APIs = no konyavdmap Path = C:\Users\i312016\.android\avd\konyavdmap.avd SDK Version = Google APIs (Google Inc.) ABI = armeabi-v7a Skin = hvga SD Card = no sd card Based On = Android 4.4.2 (API level 19) Google APIs = yes S6_Edge Path = C:\Users\i312016\.android\avd\S6_Edge.avd SDK Version = Android 4.4.2 (API level 19) ABI = armeabi-v7a Skin = QVGA SD Card = no sd card Google APIs = no Tutu Path = C:\Users\i312016\.android\avd\Tutu.avd SDK Version = Android 4.4.2 (API level 19) ABI = x86 Skin = 768x1280 SD Card = no sd card Google APIs = no Genymotion Emulators None Connected Android Devices None Microsoft (R) Visual Studio 12.0 (selected) Path = C:\Program Files (x86)\Microsoft Visual Studio 12.0\ CLR Version = v4.0.30319 MSBuild Version = v12.0.31101.0 Windows Phone SDKs = not installed Microsoft (R) Windows Phone SDK 8.1 (selected) Path = C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\ Windows PowerShell Enabled = yes Windows Phone Emulators 8.1 Emulator 8.1 WVGA 4 inch 512MB UDID 8-1-1 Emulator 8.1 WVGA 4 inch UDID 8-1-2 Emulator 8.1 WXGA 4.5 inch UDID 8-1-3 Emulator 8.1 720P 4.7 inch UDID 8-1-4 Emulator 8.1 1080P 5.5 inch UDID 8-1-5 Emulator 8.1 1080P 6 inch UDID 8-1-6 10.0 Windows Phone Devices Device UDID 0 Java Development Kit Issues x JDK (Java Development Kit) not installed. If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set. The JDK is required for must be manually downloaded and installed from http://appcelerator.com/jdk. Android Issues ! Unable to locate an Android NDK. Without the NDK, you will not be able to build native Android Titanium modules. If you have already downloaded and installed the Android NDK, you can tell Titanium where the Android NDK is located by running 'titanium config android.ndkPath /path/to/android-ndk', otherwise you can install it by running 'titanium setup android' or manually downloading from http://appcelerator.com/android-ndk. ! Android API Android 4.4.2 (android-19) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! Android API Android 5.0.1 (android-21) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! Android API Android 5.1.1 (android-22) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! Android API Google APIs (Google Inc.:Google APIs:19) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! Android API Google APIs (x86 System Image) (Google Inc.:Google APIs (x86 System Image):19) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! Android API Google APIs (Google Inc.:Google APIs:21) is too old and is no longer supported by Titanium SDK 5.2.2. The minimum supported Android API level by Titanium SDK 5.2.2 is API level 23. ! No valid Android APIs found that are supported by Titanium SDK 5.2.2. Run 'c:\suppgms\sdk\tools\android.bat' to install the latest Android APIs.
  4. binoy 2016-05-16

    This is showing JDK not installed. Actually i have updated my path variable and also the JAVA_HOME variable as well to jdk 32 bit and jre 32bit. JAVA_HOME: C:\Program Files (x86)\Java\jdk1.7.0_80\bin in path variable bewlow stuff has been added. Also i have restarted my machine many times C:\Program Files (x86)\Java\jdk1.7.0_80\bin;C:\Program Files (x86)\Java\jre7\bin After all these i got the log (commented above) for "appc info". Still its showing java_home/jdk not installed. So strange!
  5. binoy 2016-05-16

    @sharif Abudarda C:\Users\i312016>appc setup Finding latest version ...5.2.2 OK Version 5.2.2 already installed. An uncaught exception was thrown! Cannot find module 'typechecker' Cannot find module 'typechecker'
  6. Nazmus Salahin 2016-05-17

    Hello, You need 32 bit JDK installed. Please make sure youd JDK is 32 bit. Also you need to install Android API 23. Please let us know your alloy version.
       alloy -v
       
    Thanks
  7. binoy 2016-05-17

    Yes i installed 32bit jdk only, please check the location i have shared C:\Program Files (x86)\Java\jdk1.7.0_80\bin. Alloy version cannot be determined as am geeting a message in cmd : 'alloy' is not a recogonized as an internal or eternal command Android latest i have installed now.
  8. Nazmus Salahin 2016-05-17

    Please install alloy and then try the procedure again. *Command:*
       npm install -g alloy
       
    Thanks
  9. Sharif AbuDarda 2016-05-18

    Hello, Looks like you have a problem in configuration. I would suggest you reinstall your environment. Run the below command as follows rm -rf ~/.appcelerator rm -rf ~/.titanium npm uninstall -g titanium npm uninstall -g alloy npm uninstall -g appcelerator After the successful run npm install -g appcelerator appc use latest appc setup npm install -g alloy Now, Check the alloy have installed as alloy -v Make sure you run in administrative command prompt. Regards, Sharif.

JSON Source