문제

I started developing with Titanium and now I really stuck on one part. I downloaded the Adroid SDK and added the path to Titanium:

/Users/michael/Downloads/android-sdk-mac_86/

I can open e.g. Kitchen Sink in the iPhone Simulator without problems, but when I want to open it in Android then my screen looks like this: Screenshot

Why is down there all the time, even after 2 hours of waiting, the label "loading..." ?

도움이 되었습니까?

해결책

Try to open your Android_SDK_Dir/tools, run file android to create a new Android Virtual Device. After that, open your Titanium again. Maybe this will solve your issue.

Take a look at your image. Value of SDK listbox is "...loading...". This means you Titanium cannot determine which Android Virtual Device is. So, as I said, try to create new Android Virtual Device first.

다른 팁

톰,

Spsite 객체의 SPWEBS를 반복하고 부서 헤드 속성에 액세스하는 것보다 환영 페이지를 가져와야합니다.

의사 코드는 다음과 같이 보일 수 있습니다 :

SPSite site = new SPSite("http://siteurl");
foreach (SPWeb web in site.AllWebs)
{
    SPListItem welcomePage = web.GetFile(web.RootFolder.WelcomePage).Item;
    if (welcomePage["DepartmentHead"] != null)
    {
        SPFieldUserValue userValue = new SPFieldUserValue(web, welcomePage["DepartmentHead"].ToString());
        SPUser deptHead = userValue.User;

        // do something with this user
    }
}
.

물론 물체를 폐기하거나 사용하기 위해 포함해야합니다.

1) You can install Android SDK 1.6 (run tools/android from your Android SDK folder and download the older SDK 1.6 from the Google Repository), and Titanium will detect Android SDK

2) As for Android SDK 2.2, adb moved to platform-tools folder, so you will have to create a link in [your-android-sdk-folder]/tools e.g. : ln -s ../platform-tools/adb

(full instructions for non-linux here : http://guides.appcelerator.com/en/getting_started.html)

Finally, in the Titanium Test&Package/Run emulator window, you will have the choice between Android SDK 1.6 and 2.2

having the same issue - have you found a workaround? found out that after downloading the android sdk - there are other components to be downloaded, which is different from previous versions. Also found some implication that loading the android emulator prior to launching the app from titanium may yield better results.

check the android docs for updating the sdk via the avd manager

load the emulator first video: http://vimeo.com/10866226

OnSelectedIndexChanged 이벤트 에 호출 할 방법을 정의해야합니다.

드롭 다운 마크 업을 다음과 같이 바꿉니다.

<asp:DropDownList ID="ddlRSM" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_SelectedIndexChanged">
</asp:DropDownList>
.

add a blank folder android-7 in android/platforms ..n restart titanium ..it worked for me on ubuntu

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top