Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    7
    Vote Rating
    0
    HobieCat is on a distinguished road

      0  

    Default Cannot Generate .apk for Getting Started Application

    Cannot Generate .apk for Getting Started Application


    Hi there,
    I am trying to use Sencha 2.0 to go native for both iOS and Android on an OsX 10.6.8 (aka Snow Leopard) machine.

    I've downloaded the sencha-touch-2.0.0.commercial package and the SenchaSDKTools-2.0.0-Beta-osx as well, and successfully installed the latter.

    Here's step by step what I am doing:

    1. while in the Sencha SDK dir run:

    sencha generate app GS ../GSFirst issue I have to point out here is that the generated app runs on Safari only and not in Chrome.
    Anyway, I cannot build a native iOS package by running (as stated in the Guide):

    sencha package run packager.jsonbut I am successfull with:

    sencha app build nativeOne day I'll figure out why...
    Let's say I'm okay with the iOS part, now I come to Android. Being a native Android developer I guess I shall be able to manage things better, so I let sencha generate a config file for me:

    sencha package generate android.jsonRelevant changes to generated files are:
    1. "inputPath":"/Users/MYUSER/Documents/workspace/PrimaSencha"
    2. "outputPath":"buildAndroid/
    3. "platform":"AndroidEmulator"
    4. "certificatePath":"/Users/MYUSER/.android/debug.keystore"
    5. "certificateAlias":"androiddebugkey"
    6. "sdkPath":"/Users/MYUSER/eclipse/android-sdk-macosx/"
    7. "androidAPILevel":"8"
    Note that I have Android APi level 8 installed on the targeted sdkPath, of course.
    Ok, as a next step I run:

    sencha package run android.json
    This does not generate any .apk file in the output dir, but all the files needed for a full Android project, as long as I can tell.
    By the way, pls note that the generated asset folder contains again all the iOS build in the build subdir and again the buildAndroid subdir repeated a lot of times. I do tried to compile the generated files, ending up with an over then 100 Megabytes .apk file.

    Can anyone in the forum please point me towards the right path for building an .apk?
    What am I missing here?

    Best to all,

    Giorgio

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    7
    Vote Rating
    0
    HobieCat is on a distinguished road

      0  

    Default


    Solved!
    If it could be useful to some one: problem was that it looks like the outputPath cannot be inside the app path itself.
    Setting outputPath somewhere else, e.g. on the Desktop, completely solved the issue

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    Bangalore
    Posts
    113
    Vote Rating
    0
    kramprabhu is on a distinguished road

      0  

    Default


    Hi HobieCat

    Even I tried to point output path outside.. but still I am getting the same output (no message).

    D:\sencha\myapp>sencha package run packager.json
    D:\sencha\myapp>

    Can you give me full steps you did for creating android app.
    I have android sdk installed.. and Emulator running on my PC.

    Thanks
    -Ram

Thread Participants: 1