[guardian-dev] Fwd: Re: Import chatsecure inside Android Studio

Massimo Canonico mex at di.unipmn.it
Tue May 17 08:42:37 EDT 2016


(sorry, I forgot to send my reply to the mailing list)



-------- Forwarded Message --------
Subject: 	Re: [guardian-dev] Import chatsecure inside Android Studio
Date: 	Tue, 17 May 2016 14:21:00 +0200
From: 	Massimo Canonico <mex at di.unipmn.it>
To: 	Nathan of Guardian <nathan at guardianproject.info>





On 16/05/16 18:25, Nathan of Guardian wrote:
> Why not just build using the command line "ant" tools?
I followed the instraction in README.md, but the 
"|./update-ant-build.sh" failed:
Error: Project folder 'external/bho/TibetanTextLibrary' is not a valid 
directory.

Error: Project folder 'external/cacheword/cachewordlib' is not a valid 
directory.
cp: cannot create regular file 
‘external/cacheword/cachewordlib/libs/android-support-v4.jar’: No such 
file or directory

I'm not sure that I can use the chatsecure code with all these errors. 
Someone is due to the error obtained by running "||git submodule update 
--init" (as mentioned in my previous email).||
|
> Do you really
> need Eclipse?
I would like to run chatsecure inside an IDE and debug it, in order to 
figure out how chatsecure and cacheword interact in order to create the 
master password. So the problem now is that for different reasons, it 
seems that ChatSecure opensource cannot be imported in Eclipse or 
Android Studio. Maybe I'm missing something, but I tried to follow the 
commands mentioned in README.md and I got error that seems related to 
the source code not to my specific configuration.

Am I wrong?

Thanks in advance for your time,
Massimo

> On Mon, May 16, 2016, at 03:52 AM, Massimo Canonico wrote:
>> On 09/05/16 20:08, Nathan of Guardian wrote:
>>> Perhaps you should just change the project SDK to point to a different
>>> version?
>> That was the first thing that I did with no luck.
>> The main problem is that the software to install android plugin and adt
>> for Eclipse are not available anymore:
>> https://developer.android.com/tools/help/adt.html
>>
>> In the android studio developers web pages, you always see something
>> related to "migrating from Eclipse ADT" instead of the sw to still use
>> eclipse for android project.
>>
>> Once you find the sw in some other website, it seems not working with
>> recent eclipse sw:
>> Error instantiating builder 'com.android.ide.eclipse.adt.ApkBuilder'.
>>
>> And so on.
>>
>> This is just to warn people that right now, even import an android
>> project inside eclipse is not trivial (at least, for me).
>>
>> Best,
>> Massimo
>>
>>> I know the migration from Eclipse/Ant to Gradle was a bit painful, and
>>> took some time, so good luck. I can't really provide more help then just
>>> saying that Zom-Android project is the end result of that effort.
>>>
>>> On Fri, May 6, 2016, at 11:19 AM, Massimo Canonico wrote:
>>>> Hi all,
>>>>
>>>> I know that chatsecure is ok in Eclipse and Zom is ok for Android
>>>> Studio, but I would like to import chatsecure in Android Studio as I did
>>>> for many projects without much pain.
>>>>
>>>> Now, I'm almost done with Android studio 2.1 but I think I just miss the
>>>> last step. The compiler said that:
>>>>
>>>> Error:Cause: failed to find target with hash string 'Intel
>>>> Corporation:Intel Atom x86 System Image:10' in: /home/mex/Android/Sdk
>>>> <a href="openAndroidSdkManager">Open Android SDK Manager</a>
>>>>
>>>> If I'm not wrong it asking to install Intel x86 Atmo System Image for
>>>> API 10, but looking at "android sdk manager" this package is marked as
>>>> installed.
>>>>
>>>> So I am not sure why I get this error.
>>>>
>>>> Does anyone have success on importing chatsecure under Android Studio?
>>>>
>>>> Thanks in advance,
>>>>
>>>>        Massimo
>>>>
>>>> _______________________________________________
>>>> List info:https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>> To unsubscribe, email:guardian-dev-unsubscribe at lists.mayfirst.org
>> _______________________________________________
>> List info:https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>> To unsubscribe, email:guardian-dev-unsubscribe at lists.mayfirst.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20160517/82625b3b/attachment.html>


More information about the guardian-dev mailing list