本文介绍了用在Mac OSX上使用的IntelliJ ormlite工作存在的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发与上IntelliJ IDEA的Ubuntu的笔记本电脑装一个SQLite数据库的Andr​​oid应用程序,并使用ormlite使用数据库映射。我安装了 ormlite-Android的4.23.jar ormlite核-4-1.31.jar ormlite-4.23.jar 在项目文件夹的libs目录。我不知道是哪个版本,在这里使用。该应用程序正在运行,我试图用我的MacBook我的应用开发进行。我是新来的Macbook。它装有的Mac OS X 10.5.8版本。该应用程序没有运行。

I am developing an Android application with a sqlite database in an Ubuntu loaded notebook on Intellij IDEA and using database mapping using ormlite. I installed ormlite-android-4.23.jar, ormlite-core-4-1.31.jar, and ormlite-4.23.jar in libs directory of the project folder. I was not sure which version is used here. The application was running and I tried to use my Macbook to proceed with my app development. I am new to Macbook. It is loaded with Mac OS X version 10.5.8. The app is not running.

以下是在红色用的Intellij表示,并且其信息是:

The following are indicated in red by Intellij and its message is:

cannot resolve

在J256 进口com.j256.ormlite.android.apptools.OrmLiteBaseActivity 等地相关ormlite。

j256 in import com.j256.ormlite.android.apptools.OrmLiteBaseActivity, and other places related ormlite.

我是新来开发这种应用程序和任何人可以帮助我吗?我在一个类似的问题的答案正在下载ormlite版本4.20指出。我需要确切地知道文件的名称,以及应保存这一点。

I am new to developing this kind of applications and can anybody help me? I noted in a similar question the answer was downloading ormlite version 4.20. I need to know exactly the name of file and where should be saved this.

推荐答案

最有可能你需要两个文件:

Most likely you need 2 files:


  • ormlite核-4.33.jar

  • ormlite-Android的4.33.jar

  • ormlite-core-4.33.jar
  • ormlite-android-4.33.jar

把这些文件放在你的项目的任何目录(而是专为母语的.so库,许多开发人员使用它的jar库,以便您可以使用它)。然后配置的IntelliJ IDEA和你的模块。

Place these files in any directory of your project (while libs is designed for native .so libraries, many developers use it for jar libraries so you can use it). Then configure a library in IntelliJ IDEA and add it to the dependencies of your module.

这篇关于用在Mac OSX上使用的IntelliJ ormlite工作存在的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-20 16:39